Example #1
0
	void OpenGLContext::rotate( VGfloat angle ) {
		Matrix33* active = getActiveMatrix();
		Matrix33 rotate;
		rotate.setRotation( radians( angle ) );
		Matrix33 tmp;
		tmp.setIdentity();
		Matrix33::multiply( tmp, rotate, *active );
		active->copy( tmp );
		loadGLMatrix();
	}