|
| GLSphere (int _slices, int _stacks) |
|
void | draw (GLState &_state, float _radius, const ACG::Vec3f &_center=ACG::Vec3f(0.0f, 0.0f, 0.0f)) |
|
void | addToRenderer (class IRenderer *_renderer, const struct RenderObject *_base, float _radius, const ACG::Vec3f &_center=ACG::Vec3f(0.0f, 0.0f, 0.0f)) |
|
int | getNumTriangles () override |
|
void | draw_primitive () |
|
void | draw_primitive (GLSL::Program *_program) |
|
void | addToRenderer_primitive (class IRenderer *_renderer, struct RenderObject *_ro) |
|
virtual int | getNumTriangles ()=0 |
|
virtual int | getNumLines () |
|
unsigned int | getVBO () |
|
const VertexDeclaration * | getVertexDecl () const |
|
Definition at line 139 of file GLPrimitives.hh.
◆ GLSphere()
ACG::GLSphere::GLSphere |
( |
int |
_slices, |
|
|
int |
_stacks |
|
) |
| |
◆ ~GLSphere()
ACG::GLSphere::~GLSphere |
( |
| ) |
|
◆ addToRenderer()
◆ addTriangle()
void ACG::GLSphere::addTriangle |
( |
int |
sl0, |
|
|
int |
st0, |
|
|
int |
sl1, |
|
|
int |
st1, |
|
|
int |
sl2, |
|
|
int |
st2 |
|
) |
| |
|
private |
◆ draw()
◆ getNumTriangles()
int ACG::GLSphere::getNumTriangles |
( |
| ) |
|
|
overridevirtual |
◆ positionOnSphere()
ACG::Vec3f ACG::GLSphere::positionOnSphere |
( |
int |
_sliceNumber, |
|
|
int |
_stackNumber |
|
) |
| |
|
private |
◆ texCoordOnSphere()
ACG::Vec2f ACG::GLSphere::texCoordOnSphere |
( |
int |
_sliceNumber, |
|
|
int |
_stackNumber |
|
) |
| |
|
private |
◆ updateVBO()
void ACG::GLSphere::updateVBO |
( |
| ) |
|
|
overrideprivatevirtual |
◆ slices_
int ACG::GLSphere::slices_ |
|
private |
◆ stacks_
int ACG::GLSphere::stacks_ |
|
private |
The documentation for this class was generated from the following files: