Could anyone show me how to draw a cube and 3D line with opengles 2.0?

These days I had a hard time to figure out how to draw a cube and a 3d line with opengles 2.0. unfortunately failed.
My intention was to draw a 3D line and a cube in OpenGL space based on raywinderich’s. and let 3D line and cube move seperately alone different routine.

this is my test proj on github : https://github.com/changkaizhao/OpenGLES2Test
I really don’t know how to figure it out.

anyone could show me a demo or just point out what is going wrong with my test proj?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.