/* 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 = 3; //the number of shapes in the shape ring const int TextureCount = 4; //the number of textures we're loading void MainControl::InitShapes(GraphicsDevice &GD) { Shapes.Allocate(ShapeCount); //allocate room for 3 meshes int i; for(i=0;i ", C.VecEye, 0, 20); //draw the camera position as text on the screen GD.DrawText("Use the + or - keys on the number pad to change the texture.", " ", 0, 40); //help GD.DrawNumber("Current Texture -> ", CurTexture, 0, 60); //display the texture we're rendering } void MainControl::FreeMemory() { }