From 31c4ff4ff080ea34389c60ba4edd268dc7f3c08a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 17 Oct 2010 17:34:39 +0000 Subject: corrects btMatrix3x3 math::Axis conversion --- src/math/axis.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/math/axis.h') diff --git a/src/math/axis.h b/src/math/axis.h index d3a5ec6..f9da159 100644 --- a/src/math/axis.h +++ b/src/math/axis.h @@ -91,9 +91,9 @@ private: /// helper function to conver math::Axis to btMatrix3x3 inline btMatrix3x3 to_btMatrix3x3(const math::Axis &a) { - return btMatrix3x3(a[0][0], a[0][1], a[0][2], - a[1][0], a[1][1], a[1][2], - a[2][0], a[2][1], a[2][2]); + return btMatrix3x3(a[0][0], a[1][0], a[2][0], + a[0][1], a[1][1], a[2][1], + a[0][2], a[1][2], a[2][2]); } /// write an axis to a std::ostream -- cgit v1.2.3