Package net.minecraft.util.math.vector
Class Vector4f
- java.lang.Object
-
- net.minecraft.util.math.vector.Vector4f
-
public class Vector4f extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
dot(Vector4f p_229373_1_)
boolean
equals(java.lang.Object p_equals_1_)
int
hashCode()
void
mul(Vector3f p_195909_1_)
boolean
normalize()
void
perspectiveDivide()
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)
java.lang.String
toString()
void
transform(Matrix4f p_229372_1_)
void
transform(Quaternion p_195912_1_)
float
w()
float
x()
float
y()
float
z()
-
-
-
Constructor Detail
-
Vector4f
public Vector4f()
-
Vector4f
public Vector4f(float p_i48096_1_, float p_i48096_2_, float p_i48096_3_, float p_i48096_4_)
-
Vector4f
public Vector4f(Vector3f p_i226061_1_)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
x
public float x()
-
y
public float y()
-
z
public float z()
-
w
public float w()
-
mul
public void mul(Vector3f p_195909_1_)
-
set
public void set(float p_195911_1_, float p_195911_2_, float p_195911_3_, float p_195911_4_)
-
dot
public float dot(Vector4f p_229373_1_)
-
normalize
public boolean normalize()
-
transform
public void transform(Matrix4f p_229372_1_)
-
transform
public void transform(Quaternion p_195912_1_)
-
perspectiveDivide
public void perspectiveDivide()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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)
-
-