Removed unnecessary agentMaxClimb accessor

This commit is contained in:
Graham Pentheny
2025-07-22 01:01:06 -04:00
parent a925189187
commit c80b9b7b41
2 changed files with 1 additions and 3 deletions

View File

@@ -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;

View File

@@ -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); }