Package cn.nukkit.math
Class VectorMath
java.lang.Object
cn.nukkit.math.VectorMath
- Author:
- MagicDroidX (Nukkit Project)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockFace.Axis
calculateAxis
(Vector3 base, Vector3 side) static BlockFace
calculateFace
(Vector3 base, Vector3 side) static Vector2
getDirection2D
(double azimuth) getPassByVector3
(Vector3 from, Vector3 to)
-
Constructor Details
-
VectorMath
public VectorMath()
-
-
Method Details
-
getDirection2D
-
calculateAxis
@PowerNukkitOnly @Since("1.4.0.0-PN") public static BlockFace.Axis calculateAxis(Vector3 base, Vector3 side) -
calculateFace
@PowerNukkitOnly @Since("1.4.0.0-PN") public static BlockFace calculateFace(Vector3 base, Vector3 side) -
getPassByVector3
-