Example #1
0
 void simDisplay1_OnInitialize(object sender, EventArgs e)
 {
     spritebatch = new SpriteBatch(GraphicsDevice);
     camera      = new Camera(GraphicsDevice);
     sphere      = new SpherePrimitive(GraphicsDevice, 2, 16);
     cube        = new CubePrimitive(GraphicsDevice, 2);
 }
Example #2
0
 void simDisplay1_OnInitialize(object sender, EventArgs e)
 {
     spritebatch = new SpriteBatch(GraphicsDevice);
     camera = new Camera(GraphicsDevice);
     sphere = new SpherePrimitive(GraphicsDevice, 2, 16);
     cube = new CubePrimitive(GraphicsDevice, 2);
 }