![]() |
Mali OpenGL ES SDK v2.4.4
Mali Developer Center
Use of the code snippets present within these pages are subject to these EULA terms
|
#include <MGeometrySphere.h>
Public Types | |
| typedef MGeometryBase | BaseClass |
| typedef MArray< MVector3f > | MArrayVec3f |
| typedef MGeometryBase | BaseClass |
| typedef MArray< MVector3f > | MArrayVec3f |
Public Member Functions | |
| MGeometrySphere () | |
| virtual | ~MGeometrySphere () |
| void | set (float aRadius, unsigned int aHorizontal, unsigned int aVertical) |
| MGeometrySphere () | |
| virtual | ~MGeometrySphere () |
| void | set (float aRadius, unsigned int aHorizontal, unsigned int aVertical) |
Public Member Functions inherited from MGeometryBase | |
| MGeometryBase () | |
| virtual | ~MGeometryBase () |
| const MRendererPrimitive & | getPrimitive () const |
| The method returns the read-only primitive. | |
| MRendererPrimitive & | getPrimitive () |
| The method returns the read-write primitive. A user can modify the shape of primitive. | |
| virtual void | render (const MRendererProgram &aProgram) |
| The method renders the primitive with a program, which is passed as a parameter. | |
| MGeometryBase () | |
| virtual | ~MGeometryBase () |
| const MRendererPrimitive & | getPrimitive () const |
| The method returns the read-only primitive. | |
| MRendererPrimitive & | getPrimitive () |
| The method returns the read-write primitive. A user can modify the shape of primitive. | |
| virtual void | render (const MRendererProgram &aProgram) |
| The method renders the primitive with a program, which is passed as a parameter. | |
Private Member Functions | |
| void | buildPrimitveTSI (unsigned int aHorizontal, unsigned int aVertical, const MArrayVec3f &aPoints, const MArrayVec3f &aCoords, MRendererPrimitive &aOutPrimitive) const |
| void | buildPrimitveTS (unsigned int aHorizontal, unsigned int aVertical, const MArrayVec3f &aPoints, MRendererPrimitive &aOutPrimitive) const |
| void | buildPrimitveTSI (unsigned int aHorizontal, unsigned int aVertical, const MArrayVec3f &aPoints, const MArrayVec3f &aCoords, MRendererPrimitive &aOutPrimitive) const |
| void | buildPrimitveTS (unsigned int aHorizontal, unsigned int aVertical, const MArrayVec3f &aPoints, MRendererPrimitive &aOutPrimitive) const |
The class is inherited from a MGeometryBase class and represents a sphere geometry.
| typedef MArray<MVector3f> MGeometrySphere::MArrayVec3f |
| typedef MArray<MVector3f> MGeometrySphere::MArrayVec3f |
| MGeometrySphere::MGeometrySphere | ( | ) |
|
virtual |
| MGeometrySphere::MGeometrySphere | ( | ) |
|
virtual |
|
private |
|
private |
|
private |
|
private |
The method builds a sphere geometry with a specified radius. aHorizontal and aVertical parameters are used to specify resolution of the geometry.
The method builds a sphere geometry with a specified radius. aHorizontal and aVertical parameters are used to specify resolution of the geometry.