This is the documentation of the second version of A Steroid. With respect to the first version we have switched from 2D wireframe to solid 3D. It involved some changes, two new classes are added to manage simple triangular meshes:And, obviously, also a new ship class (Ship3D) and a new asteroid class (Ast3D) has been added; they uses the above classes.
- Triangle A simple class that store three vertexes and a normal
- Mesh Just a collection of triangles and some methods to load and draw them
Some minor changes were distributed here and there. myGLInit has been modified to properly set up lights, shading, dephtbuffers and so on. Bullet::Draw() has been changed: shots now smoothly change from cyan to blue.
Alphabetic index Hierarchy of classes