GearsObjectES2.
More...
#include <GearsES2.hpp>
|
| GearsObjectES2 (int name, ShaderState &st, const jau::math::Vec4f &gearColor, float inner_radius, float outer_radius, float width, GLsizei teeth, float tooth_depth, jau::math::Vec3f tx, PMVMat4f &pmvMatrix, GLUniformDataRef pmvMatrixUniform, GLUniformVec4fRef colorUniform) |
|
bool | dispatchAction (const PointerShapeAction &action, const PointerEvent &e, const WindowRef &win) |
|
void | dispose (GL &gl) |
|
void | draw (GL &gl, float ang_rad) |
|
void | initGL (GL &gl) |
|
const jau::math::Mat4f & | matPMvi () const noexcept |
|
constexpr int | name () const noexcept |
|
const jau::math::geom::AABBox3f & | objBounds () const noexcept |
|
bool & | picked () noexcept |
|
std::string | toString () const noexcept |
|
const jau::math::geom::AABBox3f & | viewBounds () const noexcept |
|
GearsObjectES2.
- Author
- Brian Paul (converted to C++ and added pixel-lightning by Sven Gothel)
- Examples
- GearsES2.cpp, and GearsES2.hpp.
Definition at line 55 of file GearsES2.hpp.
◆ GearsObjectES2()
GearsObjectES2::GearsObjectES2 |
( |
int | name, |
|
|
ShaderState & | st, |
|
|
const jau::math::Vec4f & | gearColor, |
|
|
float | inner_radius, |
|
|
float | outer_radius, |
|
|
float | width, |
|
|
GLsizei | teeth, |
|
|
float | tooth_depth, |
|
|
jau::math::Vec3f | tx, |
|
|
PMVMat4f & | pmvMatrix, |
|
|
GLUniformDataRef | pmvMatrixUniform, |
|
|
GLUniformVec4fRef | colorUniform ) |
|
inline |
◆ initGL()
void GearsObjectES2::initGL |
( |
GL & | gl | ) |
|
|
inline |
◆ dispose()
void GearsObjectES2::dispose |
( |
GL & | gl | ) |
|
|
inline |
◆ draw()
void GearsObjectES2::draw |
( |
GL & | gl, |
|
|
float | ang_rad ) |
|
inline |
◆ dispatchAction()
◆ picked()
bool & GearsObjectES2::picked |
( |
| ) |
|
|
inlinenoexcept |
◆ objBounds()
◆ viewBounds()
◆ matPMvi()
◆ name()
int GearsObjectES2::name |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ toString()
std::string GearsObjectES2::toString |
( |
| ) |
const |
|
inlinenoexcept |
◆ red
◆ green
◆ blue
The documentation for this class was generated from the following file: