private void SetupViewport() { if (noPMView) { return; } modelRenderer.SetupViewport(glControl1.Width, glControl1.Height, trackBar2.Value * 0.5d + 4.0d); }
private void SetupViewport() { double scale = 1 + ((double)trackBar3.Value * .5); renderer.SetupViewport(glControl1.Width, glControl1.Height, scale); }