Hello Everyone,
Very basic question.
How to create Rectangle using openGL ES 1.1. I have searched a lot over the internet.
Please someone share the sample code if already handy with you to draw Rectangle.
Thanks
Naseeb Panghal
Hello Everyone,
Very basic question.
How to create Rectangle using openGL ES 1.1. I have searched a lot over the internet.
Please someone share the sample code if already handy with you to draw Rectangle.
Thanks
Naseeb Panghal
I could just give you code but I don’t believe that you would learn anything from it, so instead have a look at:
glEnableClientState: glEnableClientState
glVertexPointer: glVertexPointer
glDrawArrays: glDrawArrays
Introduction to vertex arrays: Vertex Arrays - by CodeColony.de
[QUOTE=mhagain;1278851]I could just give you code but I don’t believe that you would learn anything from it, so instead have a look at:
glEnableClientState: glEnableClientState
glVertexPointer: glVertexPointer
glDrawArrays: glDrawArrays
Introduction to vertex arrays: https://www.opengl.org/sdk/docs/tutorials/CodeColony/vertexarrays.php[/QUOTE]
Thanks mhagain!!!
I will look into links.
Best Regards,
Naseeb Panghal