VOX_EXPORT void vox_cd_collide(struct vox_cd *cd)
Perform collision detection.
VOX_EXPORT void vox_cd_attach_camera(struct vox_cd *cd, struct vox_camera *camera, float radius)
Attach a camera to collision detector.
VOX_EXPORT struct vox_cd * vox_make_cd()
Create collision detector.
VOX_EXPORT void vox_cd_gravity(struct vox_cd *cd, const vox_dot gravity)
Add gravity to the world.
VOX_EXPORT void vox_cd_attach_context(struct vox_cd *cd, struct vox_rnd_ctx *ctx)
Attach a renderer context to collision detector.
A generic camera class.
Definition: camera.h:135
Opaque structure for collision detector.
A renderer context.
Definition: renderer.h:45