Package net.minecraft.util.math.vector
Class Vector4f
java.lang.Object
net.minecraft.util.math.vector.Vector4f
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
boolean
int
hashCode()
void
boolean
void
void
set
(float[] values) void
set
(float p_195911_1_, float p_195911_2_, float p_195911_3_, float p_195911_4_) void
setW
(float z) void
setX
(float x) void
setY
(float y) void
setZ
(float z) toString()
void
void
transform
(Quaternion p_195912_1_) 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_i48096_1_, float p_i48096_2_, float p_i48096_3_, float p_i48096_4_) -
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
-
set
public void set(float p_195911_1_, float p_195911_2_, float p_195911_3_, float p_195911_4_) -
dot
-
normalize
public boolean normalize() -
transform
-
transform
-
perspectiveDivide
public void perspectiveDivide() -
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 z)
-