Creating a pyramid 3D object

Now that you have understood how to define shapes and render objects on screen, it will be comparatively easier to create our 3D object. We will follow almost the same procedure as we did to create our triangle. We will create our pyramid right besides our triangle; let's begin.

Get Learning Android Game Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.