Class Offset

java.lang.Object
com.ticxo.modelengine.api.utils.math.Offset

public class Offset extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)