mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 13:20:07 +00:00
Fix the Bullet Raycast sample. Closes #450.
This commit is contained in:
parent
10de7db29a
commit
e39bf6c4cd
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user