Rotate


Makes rotation around X-axis matrix or rotation quaternion around specified axis quaternion. Can be used with arithmetic data types only.

template<class TYPE>
void Rotate(TMat3<TYPE> &m, const TYPE a);
template<class TYPE>
TQuaternion<TYPE> Rotate(const TQuaternion<TYPE> &v, const TQuaternion<TYPE> &axis, const TYPE angle);
Namespace: ntl
Include: NTL/Core/Mat3.h (For TMat3 arguments)
NTL/Core/Quaternion.h (For TQuaternion arguments)