Search in sources :

Example 1 with FloatArray

use of au.gov.asd.tac.constellation.utilities.graphics.FloatArray in project constellation by constellation-app.

the class BlazeBatcher method fillBatch.

private void fillBatch(final VisualAccess access) {
    blazeColors = new FloatArray();
    blazeInfo = new IntArray();
    for (int pos = 0; pos < access.getVertexCount(); pos++) {
        bufferBlaze(pos, blazeColors, blazeInfo, access);
    }
    blazeColors.trimToSize();
    blazeInfo.trimToSize();
}
Also used : FloatArray(au.gov.asd.tac.constellation.utilities.graphics.FloatArray) IntArray(au.gov.asd.tac.constellation.utilities.graphics.IntArray)

Aggregations

FloatArray (au.gov.asd.tac.constellation.utilities.graphics.FloatArray)1 IntArray (au.gov.asd.tac.constellation.utilities.graphics.IntArray)1