mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-13 08:59:25 +00:00
Moved common functions behind name decoration.
This commit is contained in:
@@ -159,8 +159,8 @@ void Sample_Debug::handleRender()
|
||||
duDebugDrawNavMeshPoly(&dd, m_navMesh, m_ref, duRGBA(255,0,0,128));
|
||||
|
||||
float bmin[3], bmax[3];
|
||||
vsub(bmin, m_center, m_ext);
|
||||
vadd(bmax, m_center, m_ext);
|
||||
rcVsub(bmin, m_center, m_ext);
|
||||
rcVadd(bmax, m_center, m_ext);
|
||||
duDebugDrawBoxWire(&dd, bmin[0],bmin[1],bmin[2], bmax[0],bmax[1],bmax[2], duRGBA(255,255,255,128), 1.0f);
|
||||
duDebugDrawCross(&dd, m_center[0], m_center[1], m_center[2], 1.0f, duRGBA(255,255,255,128), 2.0f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user