Split the raycast funtion into two versions.

This commit is contained in:
David Williams
2012-10-02 17:26:25 +02:00
parent 7af38d83a3
commit 191d04ec02
2 changed files with 16 additions and 14 deletions

View File

@ -95,7 +95,7 @@ void TestRaycast::testExecute()
// Cast a large number of random rays
for(int ct = 0; ct < 1000000; ct++)
{
MyRaycastResult result = raycast(&volData, start, randomUnitVectors[ct % 1024] * 1000.0f, myFunctor);
MyRaycastResult result = raycastWithDirection(&volData, start, randomUnitVectors[ct % 1024] * 1000.0f, myFunctor);
if(result == MyRaycastResults::Interupted)
{