Class CompactVectorArray
java.lang.Object
com.mojang.blaze3d.vertex.CompactVectorArray
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float[]private static final intprivate static final intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
VECTOR_SIZE
private static final int VECTOR_SIZE- See Also:
-
OFFSET_X
private static final int OFFSET_X- See Also:
-
OFFSET_Y
private static final int OFFSET_Y- See Also:
-
OFFSET_Z
private static final int OFFSET_Z- See Also:
-
contents
private final float[] contents
-
-
Constructor Details
-
CompactVectorArray
public CompactVectorArray(int count)
-
-
Method Details
-
size
public int size() -
set
-
set
public void set(int index, float x, float y, float z) -
get
-
getX
public float getX(int index) -
getY
public float getY(int index) -
getZ
public float getZ(int index)
-