public SystemConfiguration(WindowConfiguration windowConfiguration) { ScreenDepth = 1000.0f; ScreenNear = 0.1f; BorderStyle = FormBorderStyle.None; ShaderFilepath = @"C:\Code\Git\Database\dbCore\DB Structure\Visualiser\Shaders\"; DataFilePath = @"C:\Code\Git\Database\dbCore\DB Structure\Visualiser\Data\"; ObjectFilePath = @"C:\Code\Git\Database\dbCore\DB Structure\Visualiser\Models\"; FullScreen = windowConfiguration.FullScreen; Title = windowConfiguration.Title; VerticalSyncEnabled = windowConfiguration.VerticalSync; Size = new Dimension() { Width = FullScreen ? Screen.PrimaryScreen.Bounds.Width : windowConfiguration.Size.Width, Height = FullScreen ? Screen.PrimaryScreen.Bounds.Height : windowConfiguration.Size.Height }; }
public SystemConfiguration(WindowConfiguration windowConfiguration) { ScreenDepth = 1000.0f; ScreenNear = 0.1f; BorderStyle = FormBorderStyle.None; ShaderFilePath = @"C:\Programming\Terrain\Visualiser\Shaders\"; FontFilePath = @"C:\Programming\Terrain\Visualiser\Font\"; DataFilePath = @"C:\Programming\Terrain\Visualiser\Data\"; ModelFilePath = @"C:\Programming\Terrain\Visualiser\Models\"; FullScreen = windowConfiguration.FullScreen; Title = windowConfiguration.Title; VerticalSyncEnabled = windowConfiguration.VerticalSync; Size = new Dimension() { Width = FullScreen ? Screen.PrimaryScreen.Bounds.Width : windowConfiguration.Size.Width, Height = FullScreen ? Screen.PrimaryScreen.Bounds.Height : windowConfiguration.Size.Height }; }