git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@118 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
parent
bfa558036c
commit
ed9d8087ea
|
@ -167,7 +167,6 @@ inline Quaternion Quaternion::getInverse() const throw(MathematicsException) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scalar product between two quaternions
|
// Scalar product between two quaternions
|
||||||
// TODO : Test for this method
|
|
||||||
inline double Quaternion::scalarProduct(const Quaternion& quaternion) const {
|
inline double Quaternion::scalarProduct(const Quaternion& quaternion) const {
|
||||||
return (x*quaternion.x + y*quaternion.y + z*quaternion.z + w*quaternion.w);
|
return (x*quaternion.x + y*quaternion.y + z*quaternion.z + w*quaternion.w);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user