Back to class index
| Quat::operator*SyntaxQuat Quat::operator*(const Quat &rhs) const; [13 lines of code]Multiplies two quaternions together. The product q1 * q2 returns a quaternion that concatenates the two orientation rotations. The rotation q2 is applied first before q1. Syntaxfloat3 Quat::operator*(const float3 &rhs) const; [8 lines of code]float4 Quat::operator*(const float4 &rhs) const; [8 lines of code] Transforms the given vector by this Quaternion. Note Technically, this function does not perform a simple multiplication of 'q * v', but instead performs a conjugation operation 'q*v*q^-1'. This corresponds to transforming the given vector by this Quaternion. |