标签: opengl rotation
是否可以使用x y和z旋转值模拟绕过原点的任意轴的旋转,如果是这样的话?
所以要做出这三行:
glRotatef(xRotation, 1, 0, 0); glRotatef(yRotation, 0, 1, 0); glRotatef(zRotation, 0, 0, 1);
具有与以下相同的功能:
glRotatef(rotation, x, y, z);