consistency
This commit is contained in:
@ -178,8 +178,8 @@ public:
|
||||
|
||||
void CastRay(const b3Vec3 p1, const b3Vec3 p2) const
|
||||
{
|
||||
b3RayCastSingleOutput out;
|
||||
if (m_world.RayCastSingle(&out, p1, p2))
|
||||
b3ShapeRayCastSingleOutput out;
|
||||
if (m_world.RayCastSingleShape(&out, p1, p2))
|
||||
{
|
||||
g_draw->DrawSegment(p1, out.point, b3Color_green);
|
||||
|
||||
|
Reference in New Issue
Block a user