mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-01 22:45:32 +00:00
Make RecastDemo colors more meaningful (#254)
Implement a SampleDebugDraw which will color area types meaningfully, for example color water as blue, grass as green and so on.
This commit is contained in:
committed by
Jakob Botsch Nielsen
parent
16a7a30ada
commit
03eb2f92f3
@@ -142,7 +142,7 @@ void OffMeshConnectionTool::handleUpdate(const float /*dt*/)
|
||||
|
||||
void OffMeshConnectionTool::handleRender()
|
||||
{
|
||||
DebugDrawGL dd;
|
||||
duDebugDraw& dd = m_sample->getDebugDraw();
|
||||
const float s = m_sample->getAgentRadius();
|
||||
|
||||
if (m_hitPosSet)
|
||||
|
||||
Reference in New Issue
Block a user