MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / debugDrawSphere

Function debugDrawSphere

CryAnimation/DebugUtils.cpp:141–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140
141void debugDrawSphere (const Matrix34& m34, float fRadius, const float pColor[4])
142{
143 for (int nAxis = 0; nAxis < 3; ++nAxis)
144 debugDrawCircle(m34, fRadius, nAxis, pColor);
145
146 debugDrawLine (m34*Vec3(-fRadius/2,0,0),m34*Vec3(fRadius,0,0), pColor);
147}
148
149void debugDrawRootBone (const Matrix44& rBone, float fSize, const float pColor[4])
150{

Callers 3

debugDrawRootBoneFunction · 0.85
debugDrawBoneFunction · 0.85
debugDrawMethod · 0.85

Calls 2

debugDrawCircleFunction · 0.85
debugDrawLineFunction · 0.85

Tested by

no test coverage detected