Box3D 0.1.0
A 3D physics engine for games
Loading...
Searching...
No Matches
b3DebugShape Struct Reference

This is sent to the user for debug shape creation. More...

#include <types.h>

Collaboration diagram for b3DebugShape:

Data Fields

b3ShapeId shapeId
 Shape id.
b3ShapeType type
 Shape type.
union { 
const b3Capsule * capsule
 Capsule shape.
const b3CompoundData * compound
 Compound shape.
const b3HeightFieldData * heightField
 Height-field shape.
const b3HullData * hull
 Convex hull shape.
const b3Mesh * mesh
 Mesh shape with scale.
const b3Sphere * sphere
 Sphere shape.
}; 
 Tagged union.

Detailed Description

This is sent to the user for debug shape creation.

The user should know the type in case they have custom sphere or capsule rendering.


The documentation for this struct was generated from the following file:
  • E:/box/box3d/include/box3d/types.h