Package com.mojang.math
Class Vector4f
java.lang.Object
com.mojang.math.Vector4f
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(float p_176876_, float p_176877_, float p_176878_, float p_176879_) float
boolean
int
hashCode()
void
void
mul
(float p_176871_) void
boolean
void
void
set
(float[] values) void
set
(float p_123603_, float p_123604_, float p_123605_, float p_123606_) void
setW
(float w) void
setX
(float x) void
setY
(float y) void
setZ
(float z) toString()
void
void
transform
(Quaternion p_123610_) float
w()
float
x()
float
y()
float
z()
-
Field Details
-
x
private float x -
y
private float y -
z
private float z -
w
private float w
-
-
Constructor Details
-
Vector4f
public Vector4f() -
Vector4f
public Vector4f(float p_123595_, float p_123596_, float p_123597_, float p_123598_) -
Vector4f
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
x
public float x() -
y
public float y() -
z
public float z() -
w
public float w() -
mul
public void mul(float p_176871_) -
mul
-
set
public void set(float p_123603_, float p_123604_, float p_123605_, float p_123606_) -
add
public void add(float p_176876_, float p_176877_, float p_176878_, float p_176879_) -
dot
-
normalize
public boolean normalize() -
transform
-
transform
-
perspectiveDivide
public void perspectiveDivide() -
lerp
-
toString
-
set
public void set(float[] values) -
setX
public void setX(float x) -
setY
public void setY(float y) -
setZ
public void setZ(float z) -
setW
public void setW(float w)
-