// apply transformations gl::translate(draw_x1, draw_y1); gl::rotate(radsToDegrees(rotation1)); gl::scale(scale1 / 1.0f, scale1 / 1.0f); gl::draw(logo); gl::scale(1.0f / scale1, 1.0f / scale1); gl::rotate(radsToDegrees(-rotation1)); gl::translate(-draw_x1, -draw_y1); gl::translate(draw_x2, draw_y2); gl::rotate(radsToDegrees(rotation2)); gl::scale(scale2 / 1.0f, scale2 / 1.0f); gl::draw(logo); gl::scale(1.0f / scale2, 1.0f / scale2); gl::rotate(radsToDegrees(-rotation2)); gl::translate(-draw_x2, -draw_y2); }