/* MainControl.cpp Written by Matthew Fisher MainControl includes everything that changes often between applications, such as what meshes to load, and also determines what is rendered each frame. See the appropriate header file for a description of what this class does. */ //All source files include Main.h #include "Main.h" const int ShapeCount = 2; const int MovieWidth = 640; const int MovieHeight = 480; void MainControl::InitShapes(GraphicsDevice &GD) { Shapes.Allocate(ShapeCount); //allocate room for 7 meshes int i, i2; for(i=0;i ", C.VecEye, 0, 20); //draw the camera position as text on the screen GD.DrawText("Press G to move to a random time in the movie.", " ", 0, 40); //help GD.DrawDouble("Current Time (between 0 and 1) -> ", VT.GetPosition(), 0, 60); //draw the current time } void MainControl::FreeMemory() { }