Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.49k stars 174 forks source link

Assure range of -Pi..Pi for angle method #1350

Closed tcdude closed 3 years ago

tcdude commented 3 years ago

The current implementation can yield results < -Pi or > Pi, which technically isn't a relative angle and depends on the orientation of the two vectors.