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

Function resolveKnotPath

Engine/source/T3D/pathCamera.cpp:578–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578static CameraSpline::Knot::Path resolveKnotPath(const char *arg)
579{
580 if (!dStricmp(arg, "Linear"))
581 return CameraSpline::Knot::LINEAR;
582 return CameraSpline::Knot::SPLINE;
583}
584
585DefineEngineMethod(PathCamera, pushBack, void, (TransformF transform, F32 speed, const char* type, const char* path),
586 (1.0f, "Normal", "Linear"),

Callers 1

pathCamera.cppFile · 0.70

Calls 1

dStricmpFunction · 0.85

Tested by

no test coverage detected