mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-18 13:56:00 +00:00
Fix a bunch of compiler warnings
* Removed some unused vars * Fixed some signed/unsigned comparison mismatch warnings * Cast some int's to size_t when appropriate * Removed some redundant casts * silenced warnings about implicit conversions that lose precision * changed origMousePos to an array of ints to match mousePos
This commit is contained in:
committed by
grahamboree
parent
ac0316e6a8
commit
66c6060e95
@@ -672,7 +672,6 @@ class TempObstacleHilightTool : public SampleTool
|
||||
Sample_TempObstacles* m_sample;
|
||||
float m_hitPos[3];
|
||||
bool m_hitPosSet;
|
||||
float m_agentRadius;
|
||||
int m_drawType;
|
||||
|
||||
public:
|
||||
@@ -680,7 +679,6 @@ public:
|
||||
TempObstacleHilightTool() :
|
||||
m_sample(0),
|
||||
m_hitPosSet(false),
|
||||
m_agentRadius(0),
|
||||
m_drawType(DRAWDETAIL_AREAS)
|
||||
{
|
||||
m_hitPos[0] = m_hitPos[1] = m_hitPos[2] = 0;
|
||||
|
||||
Reference in New Issue
Block a user