public class TempArray
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private byte[][] |
freeBytes |
private static int |
freeBytesSize |
private javax.vecmath.Point3f[][] |
freePoints |
private static int |
freePointsSize |
private javax.vecmath.Point3i[][] |
freeScreens |
private static int |
freeScreensSize |
private int[] |
lengthsFreeBytes |
private int[] |
lengthsFreePoints |
private int[] |
lengthsFreeScreens |
Constructor and Description |
---|
TempArray() |
Modifier and Type | Method and Description |
---|---|
byte[] |
allocTempBytes(int size) |
javax.vecmath.Point3f[] |
allocTempPoints(int size) |
javax.vecmath.Point3i[] |
allocTempScreens(int size) |
void |
clear() |
private void |
clearTempPoints() |
private void |
clearTempScreens() |
private static int |
findBestFit(int size,
int[] lengths) |
private static int |
findShorter(int size,
int[] lengths) |
void |
freeTempBytes(byte[] tempBytes) |
void |
freeTempPoints(javax.vecmath.Point3f[] tempPoints) |
void |
freeTempScreens(javax.vecmath.Point3i[] tempScreens) |
private static final int freePointsSize
private final int[] lengthsFreePoints
private final javax.vecmath.Point3f[][] freePoints
private static final int freeScreensSize
private final int[] lengthsFreeScreens
private final javax.vecmath.Point3i[][] freeScreens
private static final int freeBytesSize
private final int[] lengthsFreeBytes
private final byte[][] freeBytes
public void clear()
private static int findBestFit(int size, int[] lengths)
private static int findShorter(int size, int[] lengths)
private void clearTempPoints()
public javax.vecmath.Point3f[] allocTempPoints(int size)
public void freeTempPoints(javax.vecmath.Point3f[] tempPoints)
private void clearTempScreens()
public javax.vecmath.Point3i[] allocTempScreens(int size)
public void freeTempScreens(javax.vecmath.Point3i[] tempScreens)
public byte[] allocTempBytes(int size)
public void freeTempBytes(byte[] tempBytes)