Interface Vector4fI
Syntax
public interface Vector4fI
Methods
abs()
Declaration
Returns
add(float r)
Declaration
public Vector4f add(float r)
Parameters
Type |
Name |
Description |
float |
r |
|
Returns
add(Vector4f r)
Declaration
public Vector4f add(Vector4f r)
Parameters
Returns
angle(Vector4f v)
Declaration
public float angle(Vector4f v)
Parameters
Returns
angleCos(Vector4f v)
Declaration
public float angleCos(Vector4f v)
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
distance(Vector4f v)
Declaration
public float distance(Vector4f v)
Parameters
Returns
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
distanceSquared(Vector4f v)
Declaration
public float distanceSquared(Vector4f v)
Parameters
Returns
div(float r)
Declaration
public Vector4f div(float r)
Parameters
Type |
Name |
Description |
float |
r |
|
Returns
div(Vector4f r)
Declaration
public Vector4f div(Vector4f r)
Parameters
Returns
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
dot(Vector4f r)
Declaration
public float dot(Vector4f r)
Parameters
Returns
equals(Vector3f r)
Declaration
public boolean equals(Vector3f r)
Parameters
Returns
hermite(Vector4f t0, Vector4f v1, Vector4f t1, float t)
Declaration
public Vector4f hermite(Vector4f t0, Vector4f v1, Vector4f t1, float t)
Parameters
Returns
length3f()
Declaration
Returns
length4f()
Declaration
Returns
lerp(Vector4f dest, float lerpFactor)
Declaration
public Vector4f lerp(Vector4f dest, float lerpFactor)
Parameters
Type |
Name |
Description |
Vector4f |
dest |
|
float |
lerpFactor |
|
Returns
max()
Declaration
Returns
min()
Declaration
Returns
mul(float r)
Declaration
public Vector4f mul(float r)
Parameters
Type |
Name |
Description |
float |
r |
|
Returns
mul(Vector4f r)
Declaration
public Vector4f mul(Vector4f r)
Parameters
Returns
negate()
Declaration
Returns
negate(Vector4f dest)
Declaration
public Vector4f negate(Vector4f dest)
Parameters
Returns
normalize3f()
Declaration
public Vector3f normalize3f()
Returns
normalize4f()
Declaration
public Vector4f normalize4f()
Returns
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
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
rotateX(float angle, Vector4f dest)
Declaration
public Vector4f rotateX(float angle, Vector4f dest)
Parameters
Type |
Name |
Description |
float |
angle |
|
Vector4f |
dest |
|
Returns
rotateY(float angle)
Declaration
public Vector4f rotateY(float angle)
Parameters
Type |
Name |
Description |
float |
angle |
|
Returns
rotateY(float angle, Vector4f dest)
Declaration
public Vector4f rotateY(float angle, Vector4f dest)
Parameters
Type |
Name |
Description |
float |
angle |
|
Vector4f |
dest |
|
Returns
rotateZ(float angle)
Declaration
public Vector4f rotateZ(float angle)
Parameters
Type |
Name |
Description |
float |
angle |
|
Returns
rotateZ(float angle, Vector4f dest)
Declaration
public Vector4f rotateZ(float angle, Vector4f dest)
Parameters
Type |
Name |
Description |
float |
angle |
|
Vector4f |
dest |
|
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
set(Vector4f v)
Declaration
public Vector4f set(Vector4f v)
Parameters
Returns
setW(float w)
Declaration
public void setW(float w)
Parameters
Type |
Name |
Description |
float |
w |
|
setX(float x)
Declaration
public void setX(float x)
Parameters
Type |
Name |
Description |
float |
x |
|
setY(float y)
Declaration
public void setY(float y)
Parameters
Type |
Name |
Description |
float |
y |
|
setZ(float z)
Declaration
public void setZ(float z)
Parameters
Type |
Name |
Description |
float |
z |
|
smoothStep(Vector4f v, float t)
Declaration
public Vector4f smoothStep(Vector4f v, float t)
Parameters
Type |
Name |
Description |
Vector4f |
v |
|
float |
t |
|
Returns
sub(float r)
Declaration
public Vector4f sub(float r)
Parameters
Type |
Name |
Description |
float |
r |
|
Returns
sub(Vector4f r)
Declaration
public Vector4f sub(Vector4f r)
Parameters
Returns
toString()
Declaration
Returns
w()
Declaration
Returns
x()
Declaration
Returns
xy()
Declaration
Returns
xz()
Declaration
Returns
y()
Declaration
Returns
yx()
Declaration
Returns
yz()
Declaration
Returns
z()
Declaration
Returns
zero()
Declaration
Returns
zx()
Declaration
Returns
zy()
Declaration
Returns