|
|
@@ -29,8 +29,8 @@ namespace lol |
|
|
|
#define LOL2BT_VEC3(ELEMENT) (*(btVector3*)(&(ELEMENT))) |
|
|
|
#define BT2LOL_VEC3(ELEMENT) (*(lol::vec3*)(&(ELEMENT))) |
|
|
|
|
|
|
|
#define LOL2BT_QUAT(ELEMENT) (*(btQuaternion*)(&(ELEMENT))) |
|
|
|
#define BT2LOL_QUAT(ELEMENT) (*(lol::quat*)(&(ELEMENT))) |
|
|
|
#define LOL2BT_QUAT(ELEMENT) btQuaternion((ELEMENT).x, (ELEMENT).y, (ELEMENT).z, (ELEMENT).w) |
|
|
|
#define BT2LOL_QUAT(ELEMENT) lol::quat((ELEMENT).getW(), BT2LOL_VEC3((ELEMENT).getAxis()) |
|
|
|
|
|
|
|
} /* namespace lol */ |
|
|
|
|
|
|
|