Tweaks to SpuBatchRaycast code

This commit is contained in:
johnmccutchan
2008-02-13 03:10:53 +00:00
parent 65ce92885b
commit 98006e5607
4 changed files with 36 additions and 17 deletions

View File

@@ -35,8 +35,10 @@ protected:
SpuRaycastTaskProcess* m_spuRaycastTaskProcess;
class btThreadSupportInterface* m_threadInterface;
public:
SpuBatchRaycaster (class btThreadSupportInterface* threadInterface, int maxNumOutstandingTasks, btCollisionObjectArray& castUponObjects, int numCastUponObjects);
SpuBatchRaycaster (class btThreadSupportInterface* threadInterface, int maxNumOutstandingTasks);
~SpuBatchRaycaster ();
void setCollisionObjects (btCollisionObjectArray& castUponObjects, int numCastUponObjects);
void addRay (const btVector3& rayFrom, const btVector3& rayTo);
void clearRays ();
void performBatchRaycast ();