CrystalSpace

Public API Reference

CS::Geometry::Cone Class Reference

A Cone. More...

#include <cstool/genmeshbuilder.h>

Inheritance diagram for CS::Geometry::Cone:

List of all members.

Public Member Functions

virtual bool Append (iMeshFactoryWrapper *factory)
 Append this primitive to the given factory.
virtual void Append (iGeneralFactoryState *state)
 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.

Detailed Description

A Cone.

Definition at line 330 of file genmeshbuilder.h.


Constructor & Destructor Documentation

CS::Geometry::Cone::Cone ( float  h,
float  r,
uint  sides 
)

Generate a cone of given length and radius.

Parameters:
l Capsule length.
r Capsule radius.
sides Number of sides.

Member Function Documentation

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.

virtual void CS::Geometry::Cone::Append ( iGeneralFactoryState factory  )  [virtual]

Append this primitive to the given factory.

Implements CS::Geometry::Primitive.

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.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1