Class Vector4f
Inheritance
java.lang.Object
Vector4f
Syntax
public class Vector4f implements Vector4fI
Constructors
Vector4f(float x, float y, float z, float w)
Declaration
public Vector4f(float x, float y, float z, float w)
Parameters
Type |
Name |
Description |
float |
x |
|
float |
y |
|
float |
z |
|
float |
w |
|
Methods
abs()
Declaration
Returns
Overrides
add(float r)
Declaration
public Vector4f add(float r)
Parameters
Type |
Name |
Description |
float |
r |
|
Returns
Overrides
add(Vector4f r)
Declaration
public Vector4f add(Vector4f r)
Parameters
Returns
Overrides
angle(Vector4f v)
Declaration
public float angle(Vector4f v)
Parameters
Returns
Overrides
angleCos(Vector4f v)
Declaration
public float angleCos(Vector4f v)
Parameters
Returns
Overrides
ceil()
Declaration
Returns
ceil(Vector4f dest)
Declaration
public Vector4f ceil(Vector4f dest)
Parameters
Returns
distance(float x, float y, float z, float w)
Declaration
public float distance(float x, float y, float z, float w)
Parameters
Type |
Name |
Description |
float |
x |
|
float |
y |
|
float |
z |
|
float |
w |
|
Returns
Overrides
distance(Vector4f v)
Declaration
public float distance(Vector4f v)
Parameters
Returns
Overrides
distanceSquared(float x, float y, float z, float w)
Declaration
public float distanceSquared(float x, float y, float z, float w)
Parameters
Type |
Name |
Description |
float |
x |
|
float |
y |
|
float |
z |
|
float |
w |
|
Returns
Overrides
distanceSquared(Vector4f v)
Declaration
public float distanceSquared(Vector4f v)
Parameters
Returns
Overrides
div(float r)
Declaration
public Vector4f div(float r)
Parameters
Type |
Name |
Description |
float |
r |
|
Returns
Overrides
div(Vector4f r)
Declaration
public Vector4f div(Vector4f r)
Parameters
Returns
Overrides
dot(float x, float y, float z, float w)
Declaration
public float dot(float x, float y, float z, float w)
Parameters
Type |
Name |
Description |
float |
x |
|
float |
y |
|
float |
z |
|
float |
w |
|
Returns
Overrides
dot(Vector4f r)
Declaration
public float dot(Vector4f r)
Parameters
Returns
Overrides
equals(Vector3f r)
Declaration
public boolean equals(Vector3f r)
Parameters
Returns
Overrides
floor()
Declaration
Returns
floor(Vector4f dest)
Declaration
public Vector4f floor(Vector4f dest)
Parameters
Returns
get(int component)
Declaration
public float get(int component)
Parameters
Type |
Name |
Description |
int |
component |
|
Returns
hashCode()
Declaration
Returns
hermite(Vector4f t0, Vector4f v1, Vector4f t1, float t)
Declaration
public Vector4f hermite(Vector4f t0, Vector4f v1, Vector4f t1, float t)
Parameters
Returns
Overrides
isFinite()
Declaration
public boolean isFinite()
Returns
length3f()
Declaration
Returns
Overrides
length4f()
Declaration
Returns
Overrides
lerp(Vector4f dest, float lerpFactor)
Declaration
public Vector4f lerp(Vector4f dest, float lerpFactor)
Parameters
Type |
Name |
Description |
Vector4f |
dest |
|
float |
lerpFactor |
|
Returns
Overrides
max()
Declaration
Returns
Overrides
maxComponent()
Declaration
public int maxComponent()
Returns
min()
Declaration
Returns
Overrides
minComponent()
Declaration
public int minComponent()
Returns
mul(float r)
Declaration
public Vector4f mul(float r)
Parameters
Type |
Name |
Description |
float |
r |
|
Returns
Overrides
mul(Vector4f r)
Declaration
public Vector4f mul(Vector4f r)
Parameters
Returns
Overrides
negate()
Declaration
Returns
Overrides
negate(Vector4f dest)
Declaration
public Vector4f negate(Vector4f dest)
Parameters
Returns
Overrides
normalize3f()
Declaration
public Vector3f normalize3f()
Returns
Overrides
normalize4f()
Declaration
public Vector4f normalize4f()
Returns
Overrides
rotateAxisInternal(float angle, float aX, float aY, float aZ)
Declaration
public Vector4f rotateAxisInternal(float angle, float aX, float aY, float aZ)
Parameters
Type |
Name |
Description |
float |
angle |
|
float |
aX |
|
float |
aY |
|
float |
aZ |
|
Returns
Overrides
rotateAxisInternal(float angle, float aX, float aY, float aZ, Vector4f dest)
Declaration
public Vector4f rotateAxisInternal(float angle, float aX, float aY, float aZ, Vector4f dest)
Parameters
Type |
Name |
Description |
float |
angle |
|
float |
aX |
|
float |
aY |
|
float |
aZ |
|
Vector4f |
dest |
|
Returns
Overrides
rotateX(float angle, Vector4f dest)
Declaration
public Vector4f rotateX(float angle, Vector4f dest)
Parameters
Type |
Name |
Description |
float |
angle |
|
Vector4f |
dest |
|
Returns
Overrides
rotateY(float angle)
Declaration
public Vector4f rotateY(float angle)
Parameters
Type |
Name |
Description |
float |
angle |
|
Returns
Overrides
rotateY(float angle, Vector4f dest)
Declaration
public Vector4f rotateY(float angle, Vector4f dest)
Parameters
Type |
Name |
Description |
float |
angle |
|
Vector4f |
dest |
|
Returns
Overrides
rotateZ(float angle)
Declaration
public Vector4f rotateZ(float angle)
Parameters
Type |
Name |
Description |
float |
angle |
|
Returns
Overrides
rotateZ(float angle, Vector4f dest)
Declaration
public Vector4f rotateZ(float angle, Vector4f dest)
Parameters
Type |
Name |
Description |
float |
angle |
|
Vector4f |
dest |
|
Returns
Overrides
round()
Declaration
Returns
round(Vector4f dest)
Declaration
public Vector4f round(Vector4f dest)
Parameters
Returns
set(float x, float y, float z, float w)
Declaration
public Vector4f set(float x, float y, float z, float w)
Parameters
Type |
Name |
Description |
float |
x |
|
float |
y |
|
float |
z |
|
float |
w |
|
Returns
Overrides
set(Vector4f v)
Declaration
public Vector4f set(Vector4f v)
Parameters
Returns
Overrides
setW(float w)
Declaration
public void setW(float w)
Parameters
Type |
Name |
Description |
float |
w |
|
Overrides
setX(float x)
Declaration
public void setX(float x)
Parameters
Type |
Name |
Description |
float |
x |
|
Overrides
setY(float y)
Declaration
public void setY(float y)
Parameters
Type |
Name |
Description |
float |
y |
|
Overrides
setZ(float z)
Declaration
public void setZ(float z)
Parameters
Type |
Name |
Description |
float |
z |
|
Overrides
smoothStep(Vector4f v, float t)
Declaration
public Vector4f smoothStep(Vector4f v, float t)
Parameters
Type |
Name |
Description |
Vector4f |
v |
|
float |
t |
|
Returns
Overrides
sub(float r)
Declaration
public Vector4f sub(float r)
Parameters
Type |
Name |
Description |
float |
r |
|
Returns
Overrides
sub(Vector4f r)
Declaration
public Vector4f sub(Vector4f r)
Parameters
Returns
Overrides
toString()
Declaration
Returns
Overrides
w()
Declaration
Returns
Overrides
x()
Declaration
Returns
Overrides
xy()
Declaration
Returns
Overrides
xz()
Declaration
Returns
Overrides
y()
Declaration
Returns
Overrides
yx()
Declaration
Returns
Overrides
yz()
Declaration
Returns
Overrides
z()
Declaration
Returns
Overrides
zero()
Declaration
Returns
Overrides
zx()
Declaration
Returns
Overrides
zy()
Declaration
Returns
Overrides