Package com.nexomc.nexo.utils
Object VectorUtils
-
- All Implemented Interfaces:
public class VectorUtils
-
-
Field Summary
Fields Modifier and Type Field Description public final static VectorUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final LocationtoLocation(Vector3f $self, World world)final QuaternionfquaternionfFromString(String quaternion, Float defaultValue)final Vector3fvector3fFromString(String vector, Float defaultValue)final VectorvectorFromString(String vector, Float defaultValue)final UnitrotateAroundAxisX(Vector v, Double angle)final UnitrotateAroundAxisY(Vector v, Double angle)-
-
Method Detail
-
toLocation
final Location toLocation(Vector3f $self, World world)
-
quaternionfFromString
final Quaternionf quaternionfFromString(String quaternion, Float defaultValue)
-
vector3fFromString
final Vector3f vector3fFromString(String vector, Float defaultValue)
-
vectorFromString
final Vector vectorFromString(String vector, Float defaultValue)
-
rotateAroundAxisX
final Unit rotateAroundAxisX(Vector v, Double angle)
-
rotateAroundAxisY
final Unit rotateAroundAxisY(Vector v, Double angle)
-
-
-
-