Rapier C — 2D / f32
0.36.0+c.0
Toggle main menu visibility
Loading...
Searching...
No Matches
rapier_helpers.h
Go to the documentation of this file.
1
5
#ifndef RAPIER_HELPERS_H
6
#define RAPIER_HELPERS_H
7
#include "
rapier.h
"
8
9
/* Value initialization functions are exported by rapier.h. */
10
11
/* Explicit invalid values; zero-initialized Rapier handles are not invalid.
12
* These constants have internal linkage and own no resources. */
14
static
const
RAPIER_TYPE
(RigidBodyHandle)
RAPIER_CONST
(INVALID_RIGID_BODY_HANDLE) = {NULL, UINT32_MAX, UINT32_MAX};
16
static
const
RAPIER_TYPE
(ColliderHandle)
RAPIER_CONST
(INVALID_COLLIDER_HANDLE) = {NULL, UINT32_MAX, UINT32_MAX};
18
static
const
RAPIER_TYPE
(ImpulseJointHandle)
RAPIER_CONST
(INVALID_IMPULSE_JOINT_HANDLE) = {NULL, UINT32_MAX, UINT32_MAX};
20
static
const
RAPIER_TYPE
(MultibodyJointHandle)
RAPIER_CONST
(INVALID_MULTIBODY_JOINT_HANDLE) = {NULL, UINT32_MAX, UINT32_MAX};
22
static
const
RAPIER_TYPE
(SoftBodyHandle)
RAPIER_CONST
(INVALID_SOFT_BODY_HANDLE) = {NULL, UINT32_MAX, UINT32_MAX};
23
24
#endif
rapier.h
Rapier C ABI.
RAPIER_CONST
#define RAPIER_CONST(name)
Select an R2/R3 public constant name.
Definition
rapier.h:23
RAPIER_TYPE
#define RAPIER_TYPE(name)
Select an R2/R3 public type name.
Definition
rapier.h:21
include
rapier_helpers.h
Generated by
1.18.0