void Draw()
Function has been rewritten to handle 3D.
The ship is drawn by simply invoking the Draw()
member function of the Mesh Class. This function has to
setup the proper transformation to put the ship in the standard
size and orientation (the loaded model was headed along y axis
instead of x axis and was too small). An additional X axis rotation
has been added to simulate the side-rolling of the ship
when turning left and right.
The flame has also changed: it is done with a triangle fan shading
from inner red to outer yellow. It also changes its lenght.
int MaxBullet()
The maximum number of bullet now is 30 instead of 10
This has been copied from TriShip.
void Shoot(list<Bullet *> &LB)
Shoot a new bullet triple.
It creates the three new bullets and return them in a list
This has been copied from TriShip.
Mesh M
The Shape of the ship.