Hello, I've been looking for ways to get better cardinal directions(PMMP currently has 0,1,2,3 built-in, which is S,W,N,E) I want to get something like SE(south east) and NW(north west) I've been looking for ways to use direction vector, but how exactly...? This is what getDirectionVector() gives me(omg! a lot of numbers! :l), and I'm not entirely sure how to work on what I wanted to do.
https://github.com/BlockHorizons/Fa...ons/FactionsPE/utils/ASCIICompass.php#L55-L84 Degrees are players yaw