1
0
mirror of synced 2024-11-28 01:10:51 +01:00

Increase FOV for 3D cubemap preview

This commit is contained in:
KillzXGaming 2020-01-30 20:18:37 -05:00
parent 9f3b99aaf4
commit f9ff362421

View File

@ -23,12 +23,13 @@ namespace Toolbox.Library.Forms
InitializeComponent();
if (Runtime.UseLegacyGL)
glControl = new GL_ControlLegacy();
glControl = new GL_ControlLegacy();
else
glControl = new GL_ControlModern();
glControl.Dock = DockStyle.Fill;
glControl.ActiveCamera = new InspectCamera(Runtime.MaxCameraSpeed);
glControl.Fov = 1.8f;
stPanel1.Controls.Add(glControl);
}