Package jolt.math
Class FVec3
java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.math.FVec3
- All Implemented Interfaces:
JoltNative
FVec3 relies on preview features of the Java platform:
FVec3refers 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 FVec3at(MemorySegmentPREVIEW segment) static FVec3at(MemorySessionPREVIEW arena, MemoryAddressPREVIEW addr) float[]booleanequalValue(FVec3 v) floatget(int index) floatgetX()floatgetY()floatgetZ()static FVec3of(SegmentAllocatorPREVIEW alloc) static FVec3of(SegmentAllocatorPREVIEW alloc, float s) static FVec3of(SegmentAllocatorPREVIEW alloc, float x, float y, float z) static MemorySegmentPREVIEWofArray(SegmentAllocatorPREVIEW alloc, FVec3... values) voidread(MemoryAddressPREVIEW address) voidvoidset(int index, float value) 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
-
of
-
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) -
read
-
read
-
write
-
equalValue
-
toString
-
FVec3when preview features are enabled.