PocketMine-MP 5.17.1 git-df4ada81e5d74a14046f27cf44a37dcee69d657e
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)
static

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: