diff --git a/src/Facing.php b/src/Facing.php index 7c583fd..ebdc537 100644 --- a/src/Facing.php +++ b/src/Facing.php @@ -117,32 +117,14 @@ public function rotate(Axis $axis, bool $clockwise) : Facing{ return $clockwise ? $rotated : $rotated->opposite(); } - /** - * Rotates the given direction around the Y axis. - * - * @see Facing::rotate() - * @throws \InvalidArgumentException - */ public function rotateY(bool $clockwise) : Facing{ return $this->rotate(Axis::Y, $clockwise); } - /** - * Rotates the given direction around the Z axis. - * - * @see Facing::rotate() - * @throws \InvalidArgumentException - */ public function rotateZ(bool $clockwise) : Facing{ return $this->rotate(Axis::Z, $clockwise); } - /** - * Rotates the given direction around the X axis. - * - * @see Facing::rotate() - * @throws \InvalidArgumentException - */ public function rotateX(bool $clockwise) : Facing{ return $this->rotate(Axis::X, $clockwise); }