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

Function evalArc

Engine/lib/recast/DebugUtils/Source/DebugDraw.cpp:368–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366
367
368inline void evalArc(const float x0, const float y0, const float z0,
369 const float dx, const float dy, const float dz,
370 const float h, const float u, float* res)
371{
372 res[0] = x0 + dx * u;
373 res[1] = y0 + dy * u + h * (1-(u*2-1)*(u*2-1));
374 res[2] = z0 + dz * u;
375}
376
377
378inline void vcross(float* dest, const float* v1, const float* v2)

Callers 1

duAppendArcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected