Class Vectorn

java.lang.Object
overrungl.joml.Vectorn

public final class Vectorn extends Object
Vectorn relies on preview features of the Java platform:
Programs can only use Vectorn when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
The vector-to-native-memory util.
Since:
0.1.0
Author:
squid233
  • Field Details

  • Method Details

    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Vector2ic vec)
      Allocates the vector.
      Parameters:
      allocator - the segment allocator.
      vec - the vector.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Vector2fc vec)
      Allocates the vector.
      Parameters:
      allocator - the segment allocator.
      vec - the vector.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Vector2dc vec)
      Allocates the vector.
      Parameters:
      allocator - the segment allocator.
      vec - the vector.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Vector3ic vec)
      Allocates the vector.
      Parameters:
      allocator - the segment allocator.
      vec - the vector.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Vector3fc vec)
      Allocates the vector.
      Parameters:
      allocator - the segment allocator.
      vec - the vector.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Vector3dc vec)
      Allocates the vector.
      Parameters:
      allocator - the segment allocator.
      vec - the vector.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Vector4ic vec)
      Allocates the vector.
      Parameters:
      allocator - the segment allocator.
      vec - the vector.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Vector4fc vec)
      Allocates the vector.
      Parameters:
      allocator - the segment allocator.
      vec - the vector.
      Returns:
      the segment.
    • allocate

      public static MemorySegmentPREVIEW allocate(SegmentAllocatorPREVIEW allocator, org.joml.Vector4dc vec)
      Allocates the vector.
      Parameters:
      allocator - the segment allocator.
      vec - the vector.
      Returns:
      the segment.
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Vector2ic vec)
      Allocates the vector by C memory function.
      Parameters:
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Vector2fc vec)
      Allocates the vector by C memory function.
      Parameters:
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Vector2dc vec)
      Allocates the vector by C memory function.
      Parameters:
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Vector3ic vec)
      Allocates the vector by C memory function.
      Parameters:
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Vector3fc vec)
      Allocates the vector by C memory function.
      Parameters:
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Vector3dc vec)
      Allocates the vector by C memory function.
      Parameters:
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Vector4ic vec)
      Allocates the vector by C memory function.
      Parameters:
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Vector4fc vec)
      Allocates the vector by C memory function.
      Parameters:
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(org.joml.Vector4dc vec)
      Allocates the vector by C memory function.
      Parameters:
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Vector2ic vec)
      Allocates the vector on stack.
      Parameters:
      stack - the memory stack
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Vector2fc vec)
      Allocates the vector on stack.
      Parameters:
      stack - the memory stack
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Vector2dc vec)
      Allocates the vector on stack.
      Parameters:
      stack - the memory stack
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Vector3ic vec)
      Allocates the vector on stack.
      Parameters:
      stack - the memory stack
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Vector3fc vec)
      Allocates the vector on stack.
      Parameters:
      stack - the memory stack
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Vector3dc vec)
      Allocates the vector on stack.
      Parameters:
      stack - the memory stack
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Vector4ic vec)
      Allocates the vector on stack.
      Parameters:
      stack - the memory stack
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Vector4fc vec)
      Allocates the vector on stack.
      Parameters:
      stack - the memory stack
      vec - the vector
      Returns:
      the memory address
    • malloc

      public static MemorySegmentPREVIEW malloc(MemoryStackPREVIEW stack, org.joml.Vector4dc vec)
      Allocates the vector on stack.
      Parameters:
      stack - the memory stack
      vec - the vector
      Returns:
      the memory address
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector2ic vec, long offset, MemorySegmentPREVIEW dest)
      Puts the vector at the given offset.
      Parameters:
      vec - the vector
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector2fc vec, long offset, MemorySegmentPREVIEW dest)
      Puts the vector at the given offset.
      Parameters:
      vec - the vector
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector2dc vec, long offset, MemorySegmentPREVIEW dest)
      Puts the vector at the given offset.
      Parameters:
      vec - the vector
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector3ic vec, long offset, MemorySegmentPREVIEW dest)
      Puts the vector at the given offset.
      Parameters:
      vec - the vector
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector3fc vec, long offset, MemorySegmentPREVIEW dest)
      Puts the vector at the given offset.
      Parameters:
      vec - the vector
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector3dc vec, long offset, MemorySegmentPREVIEW dest)
      Puts the vector at the given offset.
      Parameters:
      vec - the vector
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector4ic vec, long offset, MemorySegmentPREVIEW dest)
      Puts the vector at the given offset.
      Parameters:
      vec - the vector
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector4fc vec, long offset, MemorySegmentPREVIEW dest)
      Puts the vector at the given offset.
      Parameters:
      vec - the vector
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector4dc vec, long offset, MemorySegmentPREVIEW dest)
      Puts the vector at the given offset.
      Parameters:
      vec - the vector
      offset - the offset
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector2ic vec, MemorySegmentPREVIEW dest)
      Puts the vector.
      Parameters:
      vec - the vector
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector2fc vec, MemorySegmentPREVIEW dest)
      Puts the vector.
      Parameters:
      vec - the vector
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector2dc vec, MemorySegmentPREVIEW dest)
      Puts the vector.
      Parameters:
      vec - the vector
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector3ic vec, MemorySegmentPREVIEW dest)
      Puts the vector.
      Parameters:
      vec - the vector
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector3fc vec, MemorySegmentPREVIEW dest)
      Puts the vector.
      Parameters:
      vec - the vector
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector3dc vec, MemorySegmentPREVIEW dest)
      Puts the vector.
      Parameters:
      vec - the vector
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector4ic vec, MemorySegmentPREVIEW dest)
      Puts the vector.
      Parameters:
      vec - the vector
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector4fc vec, MemorySegmentPREVIEW dest)
      Puts the vector.
      Parameters:
      vec - the vector
      dest - the destination
      Returns:
      the destination
    • put

      public static MemorySegmentPREVIEW put(org.joml.Vector4dc vec, MemorySegmentPREVIEW dest)
      Puts the vector.
      Parameters:
      vec - the vector
      dest - the destination
      Returns:
      the destination