![]() |
Bullet Physics 3D Block Toy
|
Game specific defines. More...
#include "Defines.h"#include "btBulletDynamicsCommon.h"Enumerations | |
| enum class | eMesh : UINT { BigSphere , Sphere , Plane , Box , Tetrahedron , Teapot , Icosahedron , Dodecahedron , Model , Unknown , Size } |
| Mesh type. More... | |
| enum class | eModel : UINT { Container , Crate , Unknown } |
| Model type. More... | |
| enum class | eObject : UINT { Moon , Ball , Floor , Box , Tetrahedron , Teapot , Icosahedron , Dodecahedron , Container , Crate , Unknown , Size } |
| Object type. More... | |
| enum class | eCollisionShape : UINT { Sphere , Box , ConvexHull , None } |
| Collision shape type. More... | |
| enum class | eSound : UINT { Clang , Click , TapLight , TapHard , ThumpLight , ThumpMedium , ThumpHard , Size } |
| Sound enumerated type. More... | |
Functions | |
| float | PW2RW (btScalar x) |
| Physics World to Render World units for a float. | |
| Vector3 | PW2RW (const btVector3 &v) |
| Physics World to Render World units for a vector. | |
| Quaternion | PW2RW (const btQuaternion &q) |
| Physics World to Render World units for a quaternion. | |
| btScalar | RW2PW (float x) |
| Render World to Physics World units for a float. | |
| btScalar | RW2PW (int x) |
| Render World to Physics World units for an int. | |
| btVector3 | RW2PW (int x, int y, int z) |
| Render World to Physics World units for a vector provided as a pair of ints. | |
| btVector3 | RW2PW (const Vector3 &v) |
| Render World to Physics World units for a vector. | |
| btQuaternion | RW2PW (const Quaternion &q) |
| Physics World to Render World units for a quaternion. | |
Variables | |
| const float | fPRV = 1.0f |
| Physics World to Render World rescale value. | |
|
strong |
Collision shape enumerated type.
|
strong |
Mesh enumerated type.
|
strong |
Model enumerated type.
|
strong |
Object enumerated type.
|
strong |
An enumerated type for the sounds, which will be cast to an unsigned integer and used for the index of the corresponding sample. Size must be last.