public final class Quaternion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Quaternion |
ONE |
private float |
w |
private float |
x |
private float |
y |
private float |
z |
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() |
private static float |
cos(float p_214904_0_) |
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_) |
private static float |
sin(float p_214903_0_) |
java.lang.String |
toString() |
public static final Quaternion ONE
private float x
private float y
private float z
private float w
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_)
private static float cos(float p_214904_0_)
private static float sin(float p_214903_0_)
public void normalize()
public Quaternion copy()