toDir8

fun toDir8(): Dir8

Converts this DirYZ to the corresponding Dir8 direction.

Return

The corresponding Dir8 value.