Class Vector4d
java.lang.Object
org.joml.Vector4d
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVector4d()
Vector4d
(double arg0) Vector4d
(double[] arg0) Vector4d
(double arg0, double arg1, double arg2, double arg3) Vector4d
(float[] floats) Vector4d
(int arg0, ByteBuffer arg1) Vector4d
(int arg0, DoubleBuffer arg1) Vector4d
(ByteBuffer arg0) Vector4d
(DoubleBuffer arg0) -
Method Summary
Modifier and TypeMethodDescriptionabsolute()
add
(double arg0, double arg1, double arg2, double arg3) double
double
ceil()
double
distance
(double arg0, double arg1, double arg2, double arg3) static double
distance
(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7) double
double
distanceSquared
(double arg0, double arg1, double arg2, double arg3) static double
distanceSquared
(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7) double
distanceSquared
(Vector4dc arg0) div
(double arg0) double
dot
(double arg0, double arg1, double arg2, double arg3) double
boolean
equals
(double arg0, double arg1, double arg2, double arg3) boolean
boolean
floor()
double
get
(int arg0) get
(int arg0, ByteBuffer arg1) get
(int arg0, DoubleBuffer arg1) get
(int arg0, FloatBuffer arg1) get
(ByteBuffer arg0) get
(DoubleBuffer arg0) get
(FloatBuffer arg0) getf
(int arg0, ByteBuffer arg1) getf
(ByteBuffer arg0) getToAddress
(long arg0) int
hashCode()
boolean
isFinite()
double
length()
static double
length
(double arg0, double arg1, double arg2, double arg3) double
static double
lengthSquared
(double arg0, double arg1, double arg2, double arg3) int
int
mul
(double arg0) mul
(Matrix4x3dc arg0) mul
(Matrix4x3dc arg0, Vector4d arg1) mul
(Matrix4x3fc arg0) mul
(Matrix4x3fc arg0, Vector4d arg1) mulAffineTranspose
(Matrix4dc arg0, Vector4d arg1) mulProject
(Matrix4dc arg0) mulProject
(Matrix4dc arg0, Vector3d arg1) mulProject
(Matrix4dc arg0, Vector4d arg1) mulTranspose
(Matrix4dc arg0) mulTranspose
(Matrix4dc arg0, Vector4d arg1) negate()
normalize
(double arg0) normalize3
(Vector4d arg0) void
readExternal
(ObjectInput arg0) rotate
(Quaterniondc arg0) rotate
(Quaterniondc arg0, Vector4d arg1) rotateAxis
(double arg0, double arg1, double arg2, double arg3) rotateAxis
(double arg0, double arg1, double arg2, double arg3, Vector4d arg4) rotateX
(double arg0) rotateY
(double arg0) rotateZ
(double arg0) round()
set
(double arg0) set
(double[] arg0) set
(double arg0, double arg1, double arg2) set
(double arg0, double arg1, double arg2, double arg3) set
(float[] floats) set
(int arg0, ByteBuffer arg1) set
(int arg0, DoubleBuffer arg1) set
(ByteBuffer arg0) set
(DoubleBuffer arg0) setComponent
(int arg0, double arg1) setFromAddress
(long arg0) smoothStep
(Vector4dc arg0, double arg1, Vector4d arg2) sub
(double arg0, double arg1, double arg2, double arg3) toString()
toString
(NumberFormat numberFormat) double
w()
void
writeExternal
(ObjectOutput arg0) double
x()
double
y()
double
z()
zero()
-
Field Details
-
x
public double x -
y
public double y -
z
public double z -
w
public double w
-
-
Constructor Details
-
Vector4d
public Vector4d() -
Vector4d
-
Vector4d
-
Vector4d
-
Vector4d
-
Vector4d
-
Vector4d
-
Vector4d
public Vector4d(double arg0) -
Vector4d
-
Vector4d
-
Vector4d
-
Vector4d
public Vector4d(double arg0, double arg1, double arg2, double arg3) -
Vector4d
public Vector4d(float[] floats) -
Vector4d
public Vector4d(double[] arg0) -
Vector4d
-
Vector4d
-
Vector4d
-
Vector4d
-
-
Method Details
-
x
-
y
-
z
-
w
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
setFromAddress
-
setComponent
- Throws:
IllegalArgumentException
-
get
-
get
-
get
-
get
-
getf
-
getf
-
get
-
get
-
getToAddress
- Specified by:
getToAddress
in interfaceVector4dc
-
sub
-
sub
-
sub
-
sub
-
sub
-
sub
-
add
-
add
-
add
-
add
-
add
-
add
-
fma
-
fma
-
fma
-
fma
-
mulAdd
-
mulAdd
-
mulAdd
-
mulAdd
-
mul
-
mul
-
div
-
div
-
mul
-
mul
-
mul
-
mul
-
mulTranspose
-
mulTranspose
- Specified by:
mulTranspose
in interfaceVector4dc
-
mulAffine
-
mulAffineTranspose
- Specified by:
mulAffineTranspose
in interfaceVector4dc
-
mul
-
mul
-
mul
-
mul
-
mul
-
mul
-
mulProject
- Specified by:
mulProject
in interfaceVector4dc
-
mulProject
-
mulProject
- Specified by:
mulProject
in interfaceVector4dc
-
mul
-
mul
-
div
-
div
-
rotate
-
rotate
-
rotateAxis
-
rotateAxis
- Specified by:
rotateAxis
in interfaceVector4dc
-
rotateX
-
rotateX
-
rotateY
-
rotateY
-
rotateZ
-
rotateZ
-
lengthSquared
public double lengthSquared()- Specified by:
lengthSquared
in interfaceVector4dc
-
lengthSquared
public static double lengthSquared(double arg0, double arg1, double arg2, double arg3) -
length
-
length
public static double length(double arg0, double arg1, double arg2, double arg3) -
normalize
-
normalize
-
normalize
-
normalize
-
normalize3
-
normalize3
- Specified by:
normalize3
in interfaceVector4dc
-
distance
-
distance
-
distanceSquared
- Specified by:
distanceSquared
in interfaceVector4dc
-
distanceSquared
public double distanceSquared(double arg0, double arg1, double arg2, double arg3) - Specified by:
distanceSquared
in interfaceVector4dc
-
distance
public static double distance(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7) -
distanceSquared
public static double distanceSquared(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7) -
dot
-
dot
-
angleCos
-
angle
-
zero
-
negate
-
negate
-
min
-
min
-
max
-
max
-
toString
-
toString
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
hashCode
-
equals
-
equals
-
equals
-
smoothStep
- Specified by:
smoothStep
in interfaceVector4dc
-
hermite
-
lerp
-
lerp
-
get
- Specified by:
get
in interfaceVector4dc
- Throws:
IllegalArgumentException
-
get
-
get
-
get
-
maxComponent
public int maxComponent()- Specified by:
maxComponent
in interfaceVector4dc
-
minComponent
public int minComponent()- Specified by:
minComponent
in interfaceVector4dc
-
floor
-
floor
-
ceil
-
ceil
-
round
-
round
-
isFinite
-
absolute
-
absolute
-