xcode 绘制一个 3D 立方体并旋转它
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15572493/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Drawing a 3D cube and rotating it
提问by riccardolardi
For an iOS app I want to draw a 3D cube and be able to rotate it with swipe gestures. Where can I find a tutorial or something for such a basic scenario? All I can find are deep reads for openGL but I think there must be something easier?
对于 iOS 应用程序,我想绘制一个 3D 立方体并能够使用滑动手势旋转它。我在哪里可以找到有关此类基本场景的教程或其他内容?我所能找到的只是对 openGL 的深度读取,但我认为一定有更简单的方法吗?
采纳答案by Adis
回答by NULL
You can watch this tutorial..... http://www.raywenderlich.com/3664/opengl-es-2-0-for-iphone-tutorial
您可以观看本教程..... http://www.raywenderlich.com/3664/opengl-es-2-0-for-iphone-tutorial