public class Vector4f
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private float |
w |
private float |
x |
private float |
y |
private float |
z |
Constructor and Description |
---|
Vector4f() |
Vector4f(float x,
float y,
float z,
float w) |
Vector4f(Vector3f vectorIn) |
Modifier and Type | Method and Description |
---|---|
float |
dot(Vector4f vectorIn) |
boolean |
equals(java.lang.Object p_equals_1_) |
float |
getW() |
float |
getX() |
float |
getY() |
float |
getZ() |
int |
hashCode() |
boolean |
normalize() |
void |
perspectiveDivide() |
void |
scale(Vector3f vec) |
void |
set(float[] values) |
void |
set(float x,
float y,
float z,
float w) |
void |
setW(float z) |
void |
setX(float x) |
void |
setY(float y) |
void |
setZ(float z) |
java.lang.String |
toString() |
void |
transform(Matrix4f matrixIn) |
void |
transform(Quaternion quaternionIn) |
public Vector4f()
public Vector4f(float x, float y, float z, float w)
public Vector4f(Vector3f vectorIn)
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 float getX()
public float getY()
public float getZ()
public float getW()
public void scale(Vector3f vec)
public void set(float x, float y, float z, float w)
public float dot(Vector4f vectorIn)
public boolean normalize()
public void transform(Matrix4f matrixIn)
public void transform(Quaternion quaternionIn)
public void perspectiveDivide()
public java.lang.String toString()
toString
in class java.lang.Object
public void set(float[] values)
public void setX(float x)
public void setY(float y)
public void setZ(float z)
public void setW(float z)