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) doubledoubleceil()doubledistance(double arg0, double arg1, double arg2, double arg3) static doubledistance(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7) doubledoubledistanceSquared(double arg0, double arg1, double arg2, double arg3) static doubledistanceSquared(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7) doubledistanceSquared(Vector4dc arg0) div(double arg0) doubledot(double arg0, double arg1, double arg2, double arg3) doublebooleanequals(double arg0, double arg1, double arg2, double arg3) booleanbooleanfloor()doubleget(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) inthashCode()booleanisFinite()doublelength()static doublelength(double arg0, double arg1, double arg2, double arg3) doublestatic doublelengthSquared(double arg0, double arg1, double arg2, double arg3) intintmul(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) voidreadExternal(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) doublew()voidwriteExternal(ObjectOutput arg0) doublex()doubley()doublez()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:
getToAddressin 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:
mulTransposein interfaceVector4dc
-
mulAffine
-
mulAffineTranspose
- Specified by:
mulAffineTransposein interfaceVector4dc
-
mul
-
mul
-
mul
-
mul
-
mul
-
mul
-
mulProject
- Specified by:
mulProjectin interfaceVector4dc
-
mulProject
-
mulProject
- Specified by:
mulProjectin interfaceVector4dc
-
mul
-
mul
-
div
-
div
-
rotate
-
rotate
-
rotateAxis
-
rotateAxis
- Specified by:
rotateAxisin interfaceVector4dc
-
rotateX
-
rotateX
-
rotateY
-
rotateY
-
rotateZ
-
rotateZ
-
lengthSquared
public double lengthSquared()- Specified by:
lengthSquaredin 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:
normalize3in interfaceVector4dc
-
distance
-
distance
-
distanceSquared
- Specified by:
distanceSquaredin interfaceVector4dc
-
distanceSquared
public double distanceSquared(double arg0, double arg1, double arg2, double arg3) - Specified by:
distanceSquaredin 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:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
hashCode
-
equals
-
equals
-
equals
-
smoothStep
- Specified by:
smoothStepin interfaceVector4dc
-
hermite
-
lerp
-
lerp
-
get
- Specified by:
getin interfaceVector4dc- Throws:
IllegalArgumentException
-
get
-
get
-
get
-
maxComponent
public int maxComponent()- Specified by:
maxComponentin interfaceVector4dc
-
minComponent
public int minComponent()- Specified by:
minComponentin interfaceVector4dc
-
floor
-
floor
-
ceil
-
ceil
-
round
-
round
-
isFinite
-
absolute
-
absolute
-