A Steroid 0.2s This is the documentation of the second version of A Steroid modified according to the proposed exercises. The new features added in this version are:
The main changes were done to the Triangle and Mesh where we have added per-vertex normal and color and some utility to rescale the mesh and to calculate per-vertex normals.
- The shape of the asteroids is randomly generated
- The ship class include side movement member functions
- The mesh class can manage colors and smoothed normals
The modification for adding side movement involved the base class Ship and Ship3D classes and the SpecialKey,SpecialKeyUp callback functions.
The Fractal Asteroid is implemented with a new class Ast3DFract.
Alphabetic index Hierarchy of classes