PrintMatrix( matrix2 ); printf( "Now perform OpenGL glRotate function.\n" ); glRotatef( angle, x, y, z ); glGetFloatv( GL_MODELVIEW_MATRIX, matrix1 ); PrintMatrix( matrix1 ); printf( "Now perform MyRotate function.\n" ); MyRotatef( matrix2, angle, x, y, z ); PrintMatrix( ...
printf( "Now perform OpenGL glRotate function.\n" ); glRotatef( angle, x, y, z ); glGetFloatv( GL_MODELVIEW_MATRIX, matrix1 ); PrintMatrix( matrix1 ); printf( "Now perform MyRotate function.\n" ); MyRotatef( matrix2, angle, x, y, z ); PrintMatrix( matrix2 ); } void GLWid...
PrintMatrix( matrix2 ); printf( "Now perform OpenGL glRotate function.\n" ); glRotatef( angle, x, y, z ); glGetFloatv( GL_MODELVIEW_MATRIX, matrix1 ); PrintMatrix( matrix1 ); printf( "Now perform MyRotate function.\n" ); MyRotatef( matrix2, angle, x, y, z ); PrintMatrix( ...
OpenGL Save Add to Collections Add to Plan Share via Facebookx.comLinkedInEmail Print Article 12/12/2020 3 contributors Feedback In this article Syntax Parameters Return value Error codes Show 3 more TheglRotateffunction multiplies the current matrix by a rotation matrix. ...
glRotatef function Microsoft Build May 21–23, 2024 Register now Dismiss alert Learn Sign in GLU Functions Porting to OpenGL OpenGL Glossary Appendix Download PDF Learn Windows Apps Win32 Desktop Technologies Graphics and Gaming OpenGL Save Add to Collections...