Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glScalef(scaling, scaling, scaling);
- glRotatef(rotationX, 1.0, 0.0, 0.0);
- glRotatef(rotationY, 0.0, 1.0, 0.0);
- glRotatef(rotationZ, 0.0, 0.0, 1.0);
- glBegin(GL_QUADS);
- qglColor(QColor::fromRgb(200, 200, 0));
- glVertex3f(1.0, 1.0, 0);
- glVertex3f(-1.0, 1.0, 0);
- glVertex3f(-1.0, -1.0, 0);
- glVertex3f(1.0, -1.0, 0);
- glEnd();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement