public ThreeDControl() { InitializeComponent(); cam = new ThreeDCamera(this); SetCameraDefaults(); cam.OrientIsometric(); gl.MouseWheel += gl_MouseWheel; timer.Interval = (int)(1000 / 60.0); // for 60fps timer.Start(); translate(); Main.main.languageChanged += translate; toolStrip1.Location = new Point(-toolStrip1.Width, 0); }
public ThreeDControl() { InitializeComponent(); cam = new ThreeDCamera(this); SetCameraDefaults(); cam.OrientIsometric(); gl.MouseWheel += gl_MouseWheel; timer.Start(); translate(); Main.main.languageChanged += translate; }