All pastes #475397 Raw Edit

Stuff

public cpp v1 · immutable
·published 2007-05-07 12:38 UTC
rendered paste body
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);	glLoadIdentity();    glTranslatef(0.0, 0.0, iZoom);/* X translations are fine here, but Z translations act like zoom */    glTranslatef(iXMove, 0.0, iZMove);glRotatef(iXRotation, 1.0, 0.0, 0.0);glRotatef(iYRotation, 0.0, 1.0, 0.0);    /* That translate should be here and right values should * be calculated from iXRotation and iYRotation */DrawCube();