MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / plan

Method plan

Engine/source/navigation/navPath.cpp:372–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372bool NavPath::plan()
373{
374 PROFILE_SCOPE(NavPath_plan);
375 // Initialise filter.
376 mFilter.setIncludeFlags(mLinkTypes.getFlags());
377
378 // Initialise query and visit locations.
379 if(!init())
380 return false;
381
382 if(mIsSliced)
383 return planSliced();
384 else
385 return planInstant();
386}
387
388bool NavPath::planSliced()
389{

Callers 2

repathMethod · 0.80
navPath.cppFile · 0.80

Calls 3

setIncludeFlagsMethod · 0.80
initFunction · 0.50
getFlagsMethod · 0.45

Tested by

no test coverage detected