Class Offset
java.lang.Object
com.ticxo.modelengine.api.utils.math.Offset
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.util.Vector
getRelativeLocation
(org.bukkit.util.EulerAngle angle, double oX, double oY, double oZ) static org.bukkit.util.Vector
getRelativeLocation
(org.bukkit.util.EulerAngle angle, org.bukkit.util.Vector offset) static org.bukkit.util.Vector
getRelativeLocation
(org.bukkit.util.Vector origin, org.bukkit.util.EulerAngle angle, double oX, double oY, double oZ) static org.bukkit.util.Vector
getRelativeLocation
(org.bukkit.util.Vector origin, org.bukkit.util.EulerAngle angle, org.bukkit.util.Vector offset) static org.bukkit.util.Vector
rotatePitch
(org.bukkit.util.Vector vec, double pitch) static org.bukkit.util.Vector
rotateRoll
(org.bukkit.util.Vector vec, double roll) static org.bukkit.util.Vector
rotateYaw
(org.bukkit.util.Vector vec, double yaw)
-
Constructor Details
-
Offset
public Offset()
-
-
Method Details
-
getRelativeLocation
public static org.bukkit.util.Vector getRelativeLocation(org.bukkit.util.Vector origin, org.bukkit.util.EulerAngle angle, org.bukkit.util.Vector offset) -
getRelativeLocation
public static org.bukkit.util.Vector getRelativeLocation(org.bukkit.util.Vector origin, org.bukkit.util.EulerAngle angle, double oX, double oY, double oZ) -
getRelativeLocation
public static org.bukkit.util.Vector getRelativeLocation(org.bukkit.util.EulerAngle angle, double oX, double oY, double oZ) -
getRelativeLocation
public static org.bukkit.util.Vector getRelativeLocation(org.bukkit.util.EulerAngle angle, org.bukkit.util.Vector offset) -
rotateRoll
public static org.bukkit.util.Vector rotateRoll(org.bukkit.util.Vector vec, double roll) -
rotatePitch
public static org.bukkit.util.Vector rotatePitch(org.bukkit.util.Vector vec, double pitch) -
rotateYaw
public static org.bukkit.util.Vector rotateYaw(org.bukkit.util.Vector vec, double yaw)
-