Files
physx-go/pgo/physx-c/CPxVec3.h
2022-02-18 03:39:11 +04:00

26 lines
344 B
C
Executable File

#ifndef CPxVec3_H
#define CPxVec3_H
#ifdef __cplusplus
extern "C" {
#endif
struct CPxVec3 {
float x, y, z;
};
CPxAPI CPxInline CSTRUCT CPxVec3 NewCPxVec3(float x, float y, float z)
{
CSTRUCT CPxVec3 v;
v.x = x;
v.y = y;
v.z = z;
return v;
}
#ifdef __cplusplus
}
#endif
#endif // !define CPxVec3_H