Refactored SpuGatheringCollisionTask to use code in SpuCollisionShapes.

More work on SpuBatchRaycaster. It is working now on the PS3 and Windows.
This commit is contained in:
johnmccutchan
2008-01-14 23:44:07 +00:00
parent 6ba6805b43
commit be0beaf7bd
20 changed files with 1190 additions and 1474 deletions

View File

@@ -39,7 +39,7 @@ void
SpuBatchRaycaster::addRay (const btVector3& rayFrom, const btVector3& rayTo)
{
SpuRaycastTaskWorkUnitOut workUnitOut;
workUnitOut.hitFraction = 0.99;
workUnitOut.hitFraction = 1.0;
workUnitOut.hitNormal = btVector3(0.0, 1.0, 0.0);
rayBatchOutput.push_back (workUnitOut);