public final class Quaternion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Quaternion |
ONE |
Constructor and Description |
---|
Quaternion(float xAngle,
float yAngle,
float zAngle,
boolean degrees) |
Quaternion(float x,
float y,
float z,
float w) |
Quaternion(Quaternion quaternionIn) |
Quaternion(Vector3f axis,
float angle,
boolean degrees) |
Modifier and Type | Method and Description |
---|---|
void |
conjugate() |
Quaternion |
copy() |
boolean |
equals(java.lang.Object p_equals_1_) |
float |
getW() |
float |
getX() |
float |
getY() |
float |
getZ() |
int |
hashCode() |
void |
multiply(float valueIn) |
void |
multiply(Quaternion quaternionIn) |
void |
normalize() |
void |
set(float p_227066_1_,
float p_227066_2_,
float p_227066_3_,
float p_227066_4_) |
java.lang.String |
toString() |
public static final Quaternion ONE
public Quaternion(float x, float y, float z, float w)
public Quaternion(Vector3f axis, float angle, boolean degrees)
public Quaternion(float xAngle, float yAngle, float zAngle, boolean degrees)
public Quaternion(Quaternion quaternionIn)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public float getX()
public float getY()
public float getZ()
public float getW()
public void multiply(Quaternion quaternionIn)
public void multiply(float valueIn)
public void conjugate()
public void set(float p_227066_1_, float p_227066_2_, float p_227066_3_, float p_227066_4_)
public void normalize()
public Quaternion copy()