mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Cleanup.
This commit is contained in:
@@ -208,8 +208,8 @@ namespace bx
|
||||
|
||||
inline float angleDiff(float _a, float _b)
|
||||
{
|
||||
const float dist = fwrap(_b - _a, kPi*2.0f);
|
||||
return fwrap(dist*2.0f, kPi*2.0f) - dist;
|
||||
const float dist = fwrap(_b - _a, kPi2);
|
||||
return fwrap(dist*2.0f, kPi2) - dist;
|
||||
}
|
||||
|
||||
inline float angleLerp(float _a, float _b, float _t)
|
||||
|
||||
Reference in New Issue
Block a user