Closed GoogleCodeExporter closed 8 years ago
Original comment by Lince3D@gmail.com
on 27 Feb 2012 at 11:30
Original comment by Lince3D@gmail.com
on 27 Feb 2012 at 11:45
Hay un par de métodos en qquaternion.h, que pones reversed en la docu, no se
si es consciente o no:
[quote]/// <summary>
/// Calculates the quaternion's inverse.<br>
/// Note that, when the quaternion is normalized, the inverse coincides with the conjugate (which is cheaper to calculate).<br>
/// Quaternion inverse is obtained by the following equation:
///
/// \f$ Q^{-1} = \frac{w - xi - yj - zk}{\left|Q\right|^2}\f$
/// </summary>
/// <returns>
/// The reversed quaternion.
/// </returns>[/quote]
En este método, en qquaternion.cpp
[code]QQuaternion QQuaternion::operator/(const QBaseQuaternion &qQuat) const
{
return *this * qQuat.As<const QQuaternion>().Reverse();
}[/code]
Por lo demás correcto, lo pongo en DONE
Original comment by jwl...@gmail.com
on 17 Apr 2012 at 2:32
Original issue reported on code.google.com by
Lince3D@gmail.com
on 21 Feb 2012 at 9:03