Public Types |
| enum | { PROPERTY_CENTER = 0x0300,
PROPERTY_RADIUSA = 0x0301,
PROPERTY_RADIUSB = 0x0302
} |
Public Methods |
|
| DECLARE_CLASS (Torus,Primitive) |
|
| Torus () |
|
virtual | ~Torus () |
|
virtual void | setProperty (int nProperty,const Variant &value) |
|
virtual void | getProperty (int nProperty,Variant &vValue)const |
|
virtual void | initRender (Scene *pScene) |
|
Matrix4 | getCustomMatrix () |
|
virtual bool | intersect (Ray *ray,IntersectionList *intersectionList) |
|
virtual Vector3 | getNormalVector (Intersection *intersection) |
|
virtual bool | getBounds (Bounds &bounds)const |
Public Attributes |
|
double | radiusA |
|
double | radiusB |
|
Vector3 | center |