update librw

This commit is contained in:
aap
2020-04-25 15:56:20 +02:00
parent 8289b42c9e
commit ea79cc4469
4 changed files with 18 additions and 5 deletions

View File

@@ -1,6 +1,11 @@
#pragma once
typedef rw::Quat RtQuat;
// Same layout as rw::Quat but with ugly imag,real separation which i don't want in librw
struct RtQuat
{
rw::V3d imag;
rw::float32 real;
};
RwBool RtQuatConvertFromMatrix(RtQuat * const qpQuat, const RwMatrix * const mpMatrix);
RtQuat *RtQuatRotate(RtQuat * quat, const RwV3d * axis, RwReal angle, RwOpCombineType combineOp);