diff --git a/RecastDemo/Source/NavMeshTesterTool.cpp b/RecastDemo/Source/NavMeshTesterTool.cpp index 4784624..146624e 100644 --- a/RecastDemo/Source/NavMeshTesterTool.cpp +++ b/RecastDemo/Source/NavMeshTesterTool.cpp @@ -1297,7 +1297,7 @@ void NavMeshTesterTool::handleRender() for (int i = 0; i < m_nrandPoints; i++) { const float* p = &m_randPoints[i*3]; - dd.vertex(p[0],p[1]+0.1,p[2], duRGBA(220,32,16,192)); + dd.vertex(p[0],p[1]+0.1f,p[2], duRGBA(220,32,16,192)); } dd.end();