private void initTempFloatArrays() {
        //TODO these arrays should be allocated by chunk instead to avoid recreating them each time the batch is changed.
        tmpFloat = new float[maxVertCount * 3];
        tmpFloatN = new float[maxVertCount * 3];
        if (useTangents) {
            tmpFloatT = new float[maxVertCount * 4];
        }
    }
Merges all geometries in the collection into
the output mesh. Does not take into account materials.

@param geometries
@param outMesh
jme3-core/src/main/java/com/jme3/scene/BatchNode.java