mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-15 06:44:34 +00:00
Removed unnecessary agentMaxClimb accessor
This commit is contained in:
@@ -167,8 +167,6 @@ public:
|
||||
virtual void handleUpdate(float dt);
|
||||
virtual void collectSettings(struct BuildSettings& settings);
|
||||
|
||||
float getAgentClimb() { return agentMaxClimb; }
|
||||
|
||||
void updateToolStates(float dt) const;
|
||||
void initToolStates(Sample* sample) const;
|
||||
void resetToolStates() const;
|
||||
|
||||
@@ -1106,7 +1106,7 @@ void NavMeshTesterTool::handleRender()
|
||||
|
||||
const float agentRadius = sample->agentRadius;
|
||||
const float agentHeight = sample->agentHeight;
|
||||
const float agentClimb = sample->getAgentClimb();
|
||||
const float agentClimb = sample->agentMaxClimb;
|
||||
|
||||
dd.depthMask(false);
|
||||
if (sposSet) { drawAgent(spos, agentRadius, agentHeight, agentClimb, startCol); }
|
||||
|
||||
Reference in New Issue
Block a user