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