Mathter
Mathter copied to clipboard
problem trying to normalize a quaternion
The function Normalize on line 71 of QuaternionFunction.h calls a vector function Normalized
/// <summary> Returns the unit quaternion of the same direction. Does not change this object. </summary>
template <class T, bool Packed>
Quaternion<T, Packed> Normalize(const Quaternion<T, Packed>& q) {
return Quaternion<T, Packed>{ q.vec.Normalized() };
}
I get a compiler error
error C2039: 'Normalized': is not a member of 'mathter::Vector<float,4,false>'
Manually searching through the code, I can't to seem to find that function.