MCPcopy Create free account
hub / github.com/axmolengine/axmol / evalArc

Function evalArc

3rdparty/recast/DebugDraw.cpp:367–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365
366
367inline void evalArc(const float x0, const float y0, const float z0,
368 const float dx, const float dy, const float dz,
369 const float h, const float u, float* res)
370{
371 res[0] = x0 + dx * u;
372 res[1] = y0 + dy * u + h * (1-(u*2-1)*(u*2-1));
373 res[2] = z0 + dz * u;
374}
375
376
377inline 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