snapToAxis

fun Vec3.snapToAxis(): Direction