Skip to content

Commit

Permalink
Remove unrelated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhaiven committed Dec 3, 2024
1 parent adf4a5a commit f76eca3
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/Facing.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f76eca3

Please sign in to comment.