public void logFrame() {
        frames++;
        timePassed = (System.nanoTime() - startTime) / 1_000_000;
        if(timePassed >= 1000) {
            Timber.d("%d tiles @ %d fps", getTilesCount(), frames);
            frames = 0;
            startTime = System.nanoTime();
        }
    }
Allocate storage for the final combined matrix. This will be passed into the shader program.
library/src/main/java/com/yalantis/starwars/render/StarWarsRenderer.java