Child shape of a compound. More...
#include <types.h>

Data Fields | |
| union { | |
| b3Capsule | capsule |
| Capsule. | |
| const b3HullData * | hull |
| Hull. | |
| b3Mesh | mesh |
| Mesh. | |
| b3Sphere | sphere |
| Sphere. | |
| }; | |
| Tagged union. | |
| b3Transform | transform |
| Transform of the shape into compound local space. | |
| int | materialIndices [B3_MAX_COMPOUND_MESH_MATERIALS] |
| Material indices. | |
| b3ShapeType | type |
| The shape type (union tag). | |
Child shape of a compound.
| int b3ChildShape::materialIndices[B3_MAX_COMPOUND_MESH_MATERIALS] |
Material indices.
Index 0 is used for convex shapes. todo limit to 64K?