mirror of
https://github.com/bloeys/physx-go.git
synced 2025-12-29 07:58:20 +00:00
26 lines
454 B
C
Executable File
26 lines
454 B
C
Executable File
#ifndef CPxCapsuleGeometry_H
|
|
#define CPxCapsuleGeometry_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct CPxCapsuleGeometry
|
|
{
|
|
CPxReal radius, halfHeight;
|
|
};
|
|
|
|
CPxAPI CPxInline CSTRUCT CPxCapsuleGeometry NewCPxCapsuleGeometry(CPxReal radius, CPxReal halfHeight)
|
|
{
|
|
CSTRUCT CPxCapsuleGeometry c;
|
|
c.radius = radius;
|
|
c.halfHeight = halfHeight;
|
|
return c;
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // !CPxCapsuleGeometry_H
|