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

29 lines
447 B
C
Executable File

#ifndef CPxTransform_H
#define CPxTransform_H
#include "CPxVec3.h"
#include "CPxQuat.h"
#ifdef __cplusplus
extern "C" {
#endif
struct CPxTransform
{
CSTRUCT CPxVec3 p;
CSTRUCT CPxQuat q;
};
CPxAPI CPxInline CSTRUCT CPxTransform NewCPxTransform(CSTRUCT CPxVec3* v, CSTRUCT CPxQuat* q)
{
CSTRUCT CPxTransform t;
t.p = *v;
t.q = *q;
return t;
}
#ifdef __cplusplus
}
#endif
#endif // !CPxTransform_H