editor: limit far plane slider min #432
This commit is contained in:
@@ -41,7 +41,7 @@ void CameraWindow::Create(EditorComponent* editor)
|
||||
float hei = 18;
|
||||
float step = hei + 2;
|
||||
|
||||
farPlaneSlider.Create(0.1f, 10000, 5000, 100000, "Far Plane: ");
|
||||
farPlaneSlider.Create(100, 10000, 5000, 100000, "Far Plane: ");
|
||||
farPlaneSlider.SetTooltip("Controls the camera's far clip plane, geometry farther than this will be clipped.");
|
||||
farPlaneSlider.SetSize(XMFLOAT2(100, hei));
|
||||
farPlaneSlider.SetPos(XMFLOAT2(x, y += step));
|
||||
|
||||
Reference in New Issue
Block a user