Grade12Programs/src/game/drawing/Draw.java
public static void renderCameraMovement() {
        switch (drawingMode) {
            case 1:
                imgRotScale(GameJava.gw / 2, GameJava.gh / 2, 0, Camera.zoom, buffer1, bufferGraphics);
                break;
            case 2:
                imgRotScale(GameJava.gw / 2, GameJava.gh / 2, Camera.angle, 1, buffer2, buffer1Graphics);
                imgRotScale(GameJava.gw / 2, GameJava.gh / 2, 0, Camera.zoom, buffer1, bufferGraphics);
                break;
        }
    }
// draws buffers onto main buffer to account for camera zooming and rotating
draws buffers onto main buffer to account for camera zooming and rotating
draws buffers onto main buffer to account for camera zooming and rotating
public static void renderCameraMovement() {
        switch (drawingMode) {
            case 1:
                imgRotScale(GameJava.gw / 2, GameJava.gh / 2, 0, Camera.zoom, buffer1, bufferGraphics);
                break;
            case 2:
                imgRotScale(GameJava.gw / 2, GameJava.gh / 2, Camera.angle, 1, buffer2, buffer1Graphics);
                imgRotScale(GameJava.gw / 2, GameJava.gh / 2, 0, Camera.zoom, buffer1, bufferGraphics);
                break;
        }
    }
public static void renderCameraMovement ( ) { switch ( drawingMode ) { case 1 : imgRotScale ( GameJava . gw / 2 , GameJava . gh / 2 , 0 , Camera . zoom , buffer1 , bufferGraphics ) ; break ; case 2 : imgRotScale ( GameJava . gw / 2 , GameJava . gh / 2 , Camera . angle , 1 , buffer2 , buffer1Graphics ) ; imgRotScale ( GameJava . gw / 2 , GameJava . gh / 2 , 0 , Camera . zoom , buffer1 , bufferGraphics ) ; break ; } }
draws buffers onto main buffer to account for camera zooming and rotating
draws buffers onto main buffer to account for camera zooming and rotating