Description: opengl中任一坐标点旋转后,得到新坐标点的例子。通过glGetFloatv函数获取glRotate变换后的模型视图矩阵,然后乘以当前点坐标,进行旋转变换,得到变换后的坐标点位置信息。并与glRotate函数进行比较。-A mehtod to get the vertex postion after roate. This method is implemented buy using glGetFloatv function to get the ModelView Matrix, Then to calculate the new position of the vertext and render it. Just a identificatioin of glRoate fucntion. Platform: |
Size: 824320 |
Author:ff |
Hits: