MCPcopy Create free account
hub / github.com/doldecomp/mkdd / JMAFastSqrt

Function JMAFastSqrt

include/JSystem/JMath/JMath.h:294–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294inline f32 JMAFastSqrt(register f32 x)
295{
296 register f32 recip;
297
298 if (x > 0.0f)
299 {
300 __asm { frsqrte recip, x }
301 return recip * x;
302 }
303 return x;
304}
305
306void JMAEulerToQuat(s16, s16, s16, Quaternion *);
307void JMAQuatLerp(const Quaternion *, const Quaternion *, f32, Quaternion *);

Callers 7

doFuncMoveMethod · 0.85
getRateMethod · 0.85
moveAttackMethod · 0.85
moveCenterLineMethod · 0.85
moveNormalMethod · 0.85
IsHitSphereMethod · 0.85
IsHitCylinderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected