#include <SPhysicsStructs.h>
Inherits SPhysicsAttributes.
Public Member Functions | |
| SPhysicsPrimitive () | |
| Default constructor. | |
| SPhysicsPrimitive (ISceneNode *node, ENUMERATED_PRIMITIVE_TYPE primitiveType, vector3df meshScale, vector3df size, f32 height, f32 mass) | |
| Constructor to create this struct without declaring it. | |
Public Attributes | |
| ENUMERATED_PRIMITIVE_TYPE | primitiveType |
| Enum to store type of the primitive. | |
| matrix4 | offset |
| Offset matrix to the primitive. | |
| vector3df | size |
| Size of the primitive (for box, sphere). | |
| f32 | radius |
| Radius of the primitive (for cone, capsule, cylinder, chamfer cylinder). | |
| f32 | height |
| Set height of the primitive (for cone, capsule, cylinder, chamfer cylinder). | |
| SPhysicsPrimitive::SPhysicsPrimitive | ( | ) | [inline] |
Default constructor.
| SPhysicsPrimitive::SPhysicsPrimitive | ( | ISceneNode * | node, | |
| ENUMERATED_PRIMITIVE_TYPE | primitiveType, | |||
| vector3df | meshScale, | |||
| vector3df | size, | |||
| f32 | height, | |||
| f32 | mass | |||
| ) | [inline] |
Constructor to create this struct without declaring it.
Enum to store type of the primitive.
| matrix4 SPhysicsPrimitive::offset |
Offset matrix to the primitive.
| vector3df SPhysicsPrimitive::size |
Size of the primitive (for box, sphere).
Radius of the primitive (for cone, capsule, cylinder, chamfer cylinder).
Set height of the primitive (for cone, capsule, cylinder, chamfer cylinder).
1.5.1-p1