public override void Update(float dtime) { dtime *= speed; base.Update(dtime); if (sceneQuadtree != null) { SRC.CullScene(sceneQuadtree); } SRC.UpdateAnimations(dtime); SRC.Renderer.PreRender(dtime); Device9.Clear(ClearFlags.Target | ClearFlags.ZBuffer, Color.FromArgb(1, (int)(0.6 * 255), (int)(0.8 * 255), 255), 1.0f, 0); Device9.BeginScene(); SRC.Renderer.Render(dtime); Device9.EndScene(); Application.MainWindow.Text = "" + FPS; }