Class CompactVectorArray

java.lang.Object
com.mojang.blaze3d.vertex.CompactVectorArray

public class CompactVectorArray extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final float[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CompactVectorArray(int count)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.joml.Vector3f
    get(int index, org.joml.Vector3f output)
     
    float
    getX(int index)
     
    float
    getY(int index)
     
    float
    getZ(int index)
     
    void
    set(int index, float x, float y, float z)
     
    void
    set(int index, org.joml.Vector3fc v)
     
    int
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • contents

      private final float[] contents
  • Constructor Details

    • CompactVectorArray

      public CompactVectorArray(int count)
  • Method Details

    • size

      public int size()
    • set

      public void set(int index, org.joml.Vector3fc v)
    • set

      public void set(int index, float x, float y, float z)
    • get

      public org.joml.Vector3f get(int index, org.joml.Vector3f output)
    • getX

      public float getX(int index)
    • getY

      public float getY(int index)
    • getZ

      public float getZ(int index)