![]() |
Public API Reference |
![]() |
#include <cstool/genmeshbuilder.h>
Public Member Functions | |
virtual void | Append (iGeneralFactoryState *state) |
Append this primitive to the given factory. | |
virtual bool | Append (iMeshFactoryWrapper *factory) |
Append this primitive to the given factory. | |
Cone (float h, float r, uint sides) | |
Generate a cone of given length and radius. | |
void | SetMapper (TextureMapper *mapper) |
Set the mapper. |
A Cone.
Definition at line 330 of file genmeshbuilder.h.
CS::Geometry::Cone::Cone | ( | float | h, |
float | r, | ||
uint | sides | ||
) |
virtual void CS::Geometry::Cone::Append | ( | iGeneralFactoryState * | factory | ) | [virtual] |
Append this primitive to the given factory.
Implements CS::Geometry::Primitive.
virtual bool CS::Geometry::Cone::Append | ( | iMeshFactoryWrapper * | factory | ) | [inline, virtual] |
Append this primitive to the given factory.
Returns false if the primitive is not a genmesh.
Reimplemented from CS::Geometry::Primitive.
Definition at line 356 of file genmeshbuilder.h.
void CS::Geometry::Cone::SetMapper | ( | TextureMapper * | mapper | ) | [inline] |
Set the mapper.
There is no default mapper. You have to specify one.
Definition at line 350 of file genmeshbuilder.h.