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); }