Package jolt.math
Class FMat44
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.math.FMat44
- All Implemented Interfaces:
JoltNative
FMat44 relies on preview features of the Java platform:
FMat44refers 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 FMat44at(MemorySegmentPREVIEW segment) static FMat44at(MemorySessionPREVIEW arena, MemoryAddressPREVIEW addr) booleanequalValue(FMat44 m) floatgetRotation(int index) floatgetTranslation(int index) static FMat44of(SegmentAllocatorPREVIEW alloc) static FMat44of(SegmentAllocatorPREVIEW alloc, float s) static FMat44of(SegmentAllocatorPREVIEW alloc, float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13, float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33) static MemorySegmentPREVIEWofArray(SegmentAllocatorPREVIEW alloc, FMat44... values) static FMat44voidread(float[] rotation, float[] translation) voidread(MemoryAddressPREVIEW address) voidfloat[]voidsetRotation(int index, float value) voidsetTranslation(int index, float value) toString()float[]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 FMat44 of(SegmentAllocatorPREVIEW alloc, float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13, float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33) -
of
-
ofIdentity
-
ofArray
-
rotationSlice
-
translationSlice
-
rotationComponents
public float[] rotationComponents() -
translationComponents
public float[] translationComponents() -
getRotation
public float getRotation(int index) -
setRotation
public void setRotation(int index, float value) -
getTranslation
public float getTranslation(int index) -
setTranslation
public void setTranslation(int index, float value) -
read
-
read
-
read
public void read(float[] rotation, float[] translation) -
write
-
write
-
equalValue
-
toString
-
FMat44when preview features are enabled.