Package jolt.math
Class Quat
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.math.Quat
- All Implemented Interfaces:
JoltNative
Quat relies on preview features of the Java platform:
Quatrefers 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 Quatat(MemorySegmentPREVIEW segment) static Quatat(MemorySessionPREVIEW arena, MemoryAddressPREVIEW addr) float[]floatget(int index) floatgetW()floatgetX()floatgetY()floatgetZ()static Quatof(SegmentAllocatorPREVIEW alloc) static Quatof(SegmentAllocatorPREVIEW alloc, float x, float y, float z, float w) static MemorySegmentPREVIEWofArray(SegmentAllocatorPREVIEW alloc, FVec3... values) static Quatvoidread(MemoryAddressPREVIEW address) voidvoidset(int index, float value) voidsetW(float w) voidsetX(float x) voidsetY(float y) voidsetZ(float z) toString()voidwrite(MemorySegmentPREVIEW segment) Methods inherited from class jolt.SegmentedJoltNative
addressMethods inherited from class jolt.BaseJoltNative
equals, hashCode
-
Method Details
-
at
-
at
-
of
-
of
-
ofIdentity
-
ofArray
-
components
public float[] components() -
get
public float get(int index) -
set
public void set(int index, float value) -
getX
public float getX() -
setX
public void setX(float x) -
getY
public float getY() -
setY
public void setY(float y) -
getZ
public float getZ() -
setZ
public void setZ(float z) -
getW
public float getW() -
setW
public void setW(float w) -
read
-
read
-
write
-
toString
-
Quatwhen preview features are enabled.