com.mojang.math

public final class Quaternion

d
com.mojang.math.Quaternion
net.minecraft.class_1158
net.minecraft.util.math.Quaternion
net.minecraft.util.math.vector.Quaternion
net.minecraft.server.v1_16_R2.Quaternion

Field summary

Modifier and TypeField
public static final Quaternion
a
ONE
field_21493
IDENTITY
field_227060_a_
private float
b
i
field_21582
x
field_227061_b_
private float
c
j
field_21583
y
field_227062_c_
private float
d
k
field_21584
z
field_227063_d_
private float
e
r
field_21585
w
field_227064_e_

Constructor summary

ModifierConstructor
public (float x, float y, float z, float w)
public (Vector3f axis, float rotationAngle, boolean degrees)
public (Quaternion other)
public (float x, float y, float z, boolean degrees)

Method summary

Modifier and TypeMethod
public float
a()
i()
method_4921()
getX()
func_195889_a()
public float
b()
j()
method_4922()
getY()
func_195891_b()
public float
c()
k()
method_4923()
getZ()
func_195893_c()
public float
d()
r()
method_4924()
getW()
func_195894_d()
public void
a(d arg0)
mul(Quaternion arg0)
method_4925(class_1158 arg0)
hamiltonProduct(Quaternion other)
func_195890_a(Quaternion arg0)
public void
e()
conj()
method_4926()
conjugate()
func_195892_e()
private static float
b(float arg0)
cos(float arg0)
method_16003(float arg0)
cos(float value)
func_214904_a(float arg0)
private static float
c(float arg0)
sin(float arg0)
method_16002(float arg0)
sin(float value)
func_214903_b(float arg0)
public void
a(float arg0)
mul(float arg0)
method_22872(float arg0)
scale(float scale)
func_227065_a_(float arg0)
public void
f()
normalize()
method_22873()
normalize()
func_227067_f_()
public Quaternion
g()
copy()
method_23695()
copy()
func_227068_g_()
public void
a(float arg0, float arg1, float arg2, float arg3)
set(float arg0, float arg1, float arg2, float arg3)
method_23758(float arg0, float arg1, float arg2, float arg3)
set(float x, float y, float z, float w)
func_227066_a_(float arg0, float arg1, float arg2, float arg3)