Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
pocketmine
math
Vector2
lengthSquared
pocketmine\math\Vector2::lengthSquared PHP Method
Vector2 Class Documentation
Mostra file
Open project: iTXTech/Genisys
lengthSquared()
public
method
public
lengthSquared
( )
public function lengthSquared() { return $this->x * $this->x + $this->y * $this->y; }
Vector2
__construct
__toString
abs
add
ceil
createRandomDirection
distance
distanceSquared
divide
dot
floor
getFloorX
getFloorY
getX
getY
length
lengthSquared
multiply
normalize
round
subtract