mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-09 11:58:53 +00:00
Fix the Bullet Raycast sample. Closes #450.
This commit is contained in:
@@ -126,7 +126,7 @@ void RaytestDemo::castRays()
|
||||
btCollisionWorld::ClosestRayResultCallback closestResults(from,to);
|
||||
closestResults.m_flags |= btTriangleRaycastCallback::kF_FilterBackfaces;
|
||||
|
||||
|
||||
m_dynamicsWorld->rayTest(from,to,closestResults);
|
||||
|
||||
if (closestResults.hasHit())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user