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

Function resolveKnotPath

Engine/source/T3D/pathShape.cpp:523–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523static CameraSpline::Knot::Path resolveKnotPath(const char *arg)
524{
525 if (!dStricmp(arg, "Linear"))
526 return CameraSpline::Knot::LINEAR;
527 return CameraSpline::Knot::SPLINE;
528}
529
530DefineEngineMethod(PathShape, pushBack, void, (TransformF transform, F32 speed, const char* type, const char* path, const char *hitCommand),
531 (TransformF::Identity, 1.0f, "Normal", "Linear",""),

Callers 1

pathShape.cppFile · 0.70

Calls 1

dStricmpFunction · 0.85

Tested by

no test coverage detected