diagramImg.rotateY(GLOBAL.rotateModelsY);
} else {
diagramImg.rotateX(rotateX);
diagramImg.rotateY(rotateY);
}
diagramImg.scale((float) GLOBAL.getZOOM());
diagramImg.scale(scale);
//we scaled up so now we need to scale the window width move
diagramImg.translate((-(w / scale) / 2) + (float)(GLOBAL.CAM_OFFSET_X),
(-(h / scale) / 2) + (float)(GLOBAL.CAM_OFFSET_Y));