summaryrefslogblamecommitdiffstats
path: root/src/fakerw/rtquat.h
blob: 3cf15f5a74f2ca1d563abc18a655c688fde57620 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                                                        
#pragma once

typedef rw::Quat RtQuat;

RwBool RtQuatConvertFromMatrix(RtQuat * const qpQuat, const RwMatrix * const mpMatrix);
RtQuat *RtQuatRotate(RtQuat * quat, const RwV3d * axis, RwReal angle, RwOpCombineType combineOp);
const RtQuat *RtQuatQueryRotate(const RtQuat *quat, RwV3d * unitAxis, RwReal * angle);
RwV3d *RtQuatTransformVectors(RwV3d * vectorsOut, const RwV3d * vectorsIn, const RwInt32 numPoints, const RtQuat *quat);

void RtQuatConvertToMatrix(const RtQuat * const qpQuat, RwMatrix * const mpMatrix);