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 b3Capsulecapsule
 Capsule shape.
const b3CompoundDatacompound
 Compound shape.
const b3HeightFieldDataheightField
 Height-field shape.
const b3HullDatahull
 Convex hull shape.
const b3Meshmesh
 Mesh shape with scale.
const b3Spheresphere
 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