using Blacklight.Core.Cameras; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Glass.Testbed { public partial class Testbed : Form { public World world; public Testbed() { InitializeComponent(); world = new World(viewport); } private void drawTimer_Tick(object sender, EventArgs e) { viewport.DrawableSurface.FrameReset(); viewport.DrawableSurface.BackgroundColor = new global::Blacklight.Core.Color(0, 0.5, 0.5); world.DrawScene(); viewport.DrawableSurface.SubmitDrawCalls(); } } }