Returns the diagonal value for its component directions Example: Input: 6, 0 (up, right) / Output: 7 (up_right)
Direction values
Diagonal direction value
Returns the diagonal value for its component directions Example: Input: 6, 0 (up, right) / Output: 7 (up_right)