fix xform

This commit is contained in:
David Rose 2002-06-21 22:28:21 +00:00
parent 5bfe55d22f
commit 41a3a0a2b7

View File

@ -57,7 +57,7 @@ xform(const FLOATNAME(LVecBase3) &v) const {
FLOATNAME(LQuaternion) inv;
inv.invert_from(*this);
v_quat = (*this) * v_quat * inv;
v_quat = inv * v_quat * (*this);
return FLOATNAME(LVecBase3)(v_quat[1], v_quat[2], v_quat[3]);
}