Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何在opengl es2中旋转顶点
在 es1 我可以做 glRotatef(transY, 0, 0, 1);
但是在 es2 下它崩溃了
在 es2 中是一样的吗
将 iphone sdk 用于 xcode
在 OpenGL ES2 中,该glRotatef()函数不再存在。相反,我相信您需要使用顶点着色器来完成所需的翻译。以下资源可能会有所帮助:
glRotatef()
OpenGL ES2 API 文档 着色器教程