refactoring

This commit is contained in:
Irlan
2018-10-08 16:18:28 -03:00
parent b48b16843a
commit f98374143a
47 changed files with 895 additions and 1046 deletions

View File

@ -178,8 +178,8 @@ public:
void CastRay(const b3Vec3 p1, const b3Vec3 p2) const
{
b3RayCastSingleShapeOutput out;
if (m_world.RayCastSingleShape(&out, p1, p2))
b3RayCastSingleOutput out;
if (m_world.RayCastSingle(&out, p1, p2))
{
g_draw->DrawSegment(p1, out.point, b3Color_green);