Minor fixes to keep trunk compiling, while doing the refactoring.

This commit is contained in:
erwin.coumans
2008-12-01 07:24:39 +00:00
parent bbfdcd44b6
commit dd21959709
7 changed files with 23 additions and 12 deletions

View File

@@ -91,7 +91,7 @@ public:
// rotate around by alpha degrees y
btQuaternion q(btVector3(0.0, 1.0, 0.0), alpha);
direction[i] = btVector3(1.0, 0.0, 0.0);
direction[i] = q * direction[i];
direction[i] = quatRotate(q , direction[i]);
direction[i] = direction[i] * ray_length;