private function getZFace(Vector3 $direction) { return $direction->z > 0 ? Vector3::SIDE_SOUTH : Vector3::SIDE_NORTH; }