Package jolt.math
Class DMat44
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.math.DMat44
- All Implemented Interfaces:
JoltNative
DMat44 relies on preview features of the Java platform:
DMat44refers to one or more preview APIs:MemoryAddress,MemorySegment,MemorySession,SegmentAllocator.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Field Summary
Fields inherited from class jolt.SegmentedJoltNative
handle -
Method Summary
Modifier and TypeMethodDescriptionstatic DMat44at(MemorySegmentPREVIEW segment) static DMat44at(MemorySessionPREVIEW arena, MemoryAddressPREVIEW addr) booleanequalValue(DMat44 m) floatgetRotation(int index) doublegetTranslation(int index) static DMat44of(SegmentAllocatorPREVIEW alloc) static DMat44of(SegmentAllocatorPREVIEW alloc, float r, double t) static DMat44of(SegmentAllocatorPREVIEW alloc, float n00, float n01, float n02, double n03, float n10, float n11, float n12, double n13, float n20, float n21, float n22, double n23, float n30, float n31, float n32) static MemorySegmentPREVIEWofArray(SegmentAllocatorPREVIEW alloc, DMat44... values) static DMat44voidread(float[] rotation, double[] translation) voidread(MemoryAddressPREVIEW address) voidfloat[]voidsetRotation(int index, float value) voidsetTranslation(int index, double value) toString()double[]voidwrite(MemorySegmentPREVIEW segment) voidwrite(MemorySegmentPREVIEW rotation, MemorySegmentPREVIEW translation) Methods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
at
-
of
-
of
public static DMat44 of(SegmentAllocatorPREVIEW alloc, float n00, float n01, float n02, double n03, float n10, float n11, float n12, double n13, float n20, float n21, float n22, double n23, float n30, float n31, float n32) -
of
-
ofIdentity
-
ofArray
-
rotationSlice
-
translationSlice
-
rotationComponents
public float[] rotationComponents() -
translationComponents
public double[] translationComponents() -
getRotation
public float getRotation(int index) -
setRotation
public void setRotation(int index, float value) -
getTranslation
public double getTranslation(int index) -
setTranslation
public void setTranslation(int index, double value) -
read
-
read
-
read
public void read(float[] rotation, double[] translation) -
write
-
write
-
equalValue
-
toString
-
DMat44when preview features are enabled.