MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / CalcTotalCost

Method CalcTotalCost

Source/Utils/micropather.h:258–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256 #endif
257
258 void CalcTotalCost() {
259 if ( costFromStart < FLT_MAX && estToGoal < FLT_MAX )
260 totalCost = costFromStart + estToGoal;
261 else
262 totalCost = FLT_MAX;
263 }
264
265 private:
266

Callers 1

SolveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected