public void BeginDraw() { if (rotateCamera) { time += 0.02f; } SharpDXHelper.BeginDraw(RenderInfo); }