Public Types |
| enum | { PROPERTY_POINT1 = 0x0300,
PROPERTY_POINT2 = 0x0301,
PROPERTY_OBJECTS = 0x0302
} |
Public Methods |
|
| DECLARE_CLASS (UnionBounded,Primitive) |
|
| UnionBounded () |
|
virtual | ~UnionBounded () |
|
virtual void | setProperty (int nProperty,const Variant &value) |
|
virtual void | getProperty (int nProperty,Variant &vValue)const |
|
virtual void | acceptOperation (Visitor *pVisitor) |
|
virtual bool | intersect (Ray *ray,IntersectionList *intersectionList) |
|
virtual Vector3 | getNormalVector (Intersection *intersection) |
|
virtual Texture* | getTexture (Intersection *intersection) |
|
virtual Color | getColor (Intersection *intersection) |
Public Attributes |
|
Vector3 | point1 |
|
Vector3 | point2 |
|
vector< <Primitive> > | objects |
Static Public Attributes |
SUPPORT_PRIMITIVE_STATISTIC
const Vector3 | normal_side [6] |
The other corner points can be calculated out of this information as there are only rectangular corners.