minor changes

This commit is contained in:
Irlan
2017-02-19 08:23:08 -03:00
parent 875cc5316b
commit e1038cfb31
4 changed files with 69 additions and 58 deletions

View File

@ -111,7 +111,10 @@ public:
position.y += 0.5f * aabb.Height() + radius;
// maintain orientation
b->SetTransform(position, q.GetAxis(), q.GetAngle());
b3Vec3 axis;
float32 angle;
q.GetAxisAngle(&axis, &angle);
b->SetTransform(position, axis, angle);
}
}