![]() |
Public API Reference |
![]() |
A capsule. More...
#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. | |
Capsule (float l, float r, uint sides) | |
Generate a capsule of given length and radius. | |
void | SetMapper (TextureMapper *mapper) |
Set the mapper. |
A capsule.
Definition at line 233 of file genmeshbuilder.h.
CS::Geometry::Capsule::Capsule | ( | float | l, |
float | r, | ||
uint | sides | ||
) |
virtual void CS::Geometry::Capsule::Append | ( | iGeneralFactoryState * | factory | ) | [virtual] |
Append this primitive to the given factory.
Implements CS::Geometry::Primitive.
virtual bool CS::Geometry::Capsule::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 259 of file genmeshbuilder.h.
void CS::Geometry::Capsule::SetMapper | ( | TextureMapper * | mapper | ) | [inline] |
Set the mapper.
There is no default mapper. You have to specify one.
Definition at line 253 of file genmeshbuilder.h.