|
| __construct ($x=0, $y=0) |
|
| getX () |
|
| getY () |
|
| getFloorX () |
|
| getFloorY () |
|
| add ($x, $y=0) |
|
| subtract ($x, $y=0) |
|
| ceil () |
|
| floor () |
|
| round () |
|
| abs () |
|
| multiply ($number) |
|
| divide ($number) |
|
| distance ($x, $y=0) |
|
| distanceSquared ($x, $y=0) |
|
| length () |
|
| lengthSquared () |
|
| normalize () |
|
| dot (Vector2 $v) |
|
| __toString () |
|
WARNING: This class is available on the PocketMine-MP Zephir project. If this class is modified, remember to modify the PHP C extension.
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/math/Vector2.php