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

@@ -126,9 +126,9 @@ public:
{
btScalar alpha = dalpha * i;
// rotate around by alpha degrees y
btQuaternion q(btVector3(0.0, 1.0, 0.0), alpha);
btTransform tr (btQuaternion (btVector3(0.0, 1.0, 0.0), alpha));
direction[i] = btVector3(1.0, 0.0, 0.0);
direction[i] = q * direction[i];
direction[i] = tr* direction[i];
direction[i] = direction[i] * ray_length;
source[i] = btVector3(min_x, max_y, z);
dest[i] = source[i] + direction[i];