PocketMine-MP 5.15.1 git-fb9a74e8799c71ed8292cfa53abe7a4c9204629d
pocketmine\math\Axis Class Reference
+ Collaboration diagram for pocketmine\math\Axis:

Static Public Member Functions

static toString (int $axis)

Public Attributes

const X = 2
const Y = 0
const Z = 1

Detailed Description

Definition at line 26 of file Axis.php.

Member Function Documentation

◆ toString()

static pocketmine\math\Axis::toString ( int  $axis)

Returns a human-readable string representation of the given axis.

Definition at line 38 of file Axis.php.

Member Data Documentation

◆ X

const pocketmine\math\Axis::X = 2

Definition at line 33 of file Axis.php.

◆ Y

const pocketmine\math\Axis::Y = 0

Definition at line 31 of file Axis.php.

◆ Z

const pocketmine\math\Axis::Z = 1

Definition at line 32 of file Axis.php.

The documentation for this class was generated from the following file: