CrystalSpace

Public API Reference

CS::Geometry::Primitive Struct Reference

Superclass for all primitives. More...

#include <cstool/genmeshbuilder.h>

Inheritance diagram for CS::Geometry::Primitive:

List of all members.

Public Member Functions

virtual bool Append (iMeshFactoryWrapper *factory)
 Append this primitive to the given factory.
virtual void Append (iGeneralFactoryState *factory)=0
 Append this primitive to the given factory.

Detailed Description

Superclass for all primitives.

Definition at line 45 of file genmeshbuilder.h.


Member Function Documentation

virtual bool CS::Geometry::Primitive::Append ( iMeshFactoryWrapper factory  )  [inline, virtual]

Append this primitive to the given factory.

Returns false if the primitive is not a genmesh.

Reimplemented in CS::Geometry::TesselatedQuad, CS::Geometry::TesselatedBox, CS::Geometry::Box, CS::Geometry::Capsule, CS::Geometry::Sphere, and CS::Geometry::Cone.

Definition at line 57 of file genmeshbuilder.h.

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

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

Generated for Crystal Space 2.1 by doxygen 1.6.1