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

Function resolveKnotPath

Engine/source/T3D/pathCamera.cpp:576–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

pathCamera.cppFile · 0.85

Calls 1

dStricmpFunction · 0.85

Tested by

no test coverage detected