Allow Radius 0 in Demo

Recast C++ demo allows radius 0 and I have a use case for it. I think it should be allowed
This commit is contained in:
c0nd3v 2023-12-17 12:25:06 -05:00 committed by Ikpil
parent 6474f234a3
commit e782208faa
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ public class RcSettingsView : IRcView
ImGui.Text("Agent");
ImGui.Separator();
ImGui.SliderFloat("Height", ref settings.agentHeight, 0.1f, 5f, "%.1f");
ImGui.SliderFloat("Radius", ref settings.agentRadius, 0.1f, 5f, "%.1f");
ImGui.SliderFloat("Radius", ref settings.agentRadius, 0.0f, 5f, "%.1f");
ImGui.SliderFloat("Max Climb", ref settings.agentMaxClimb, 0.1f, 5f, "%.1f");
ImGui.SliderFloat("Max Slope", ref settings.agentMaxSlope, 1f, 90f, "%.0f");
ImGui.SliderFloat("Max Acceleration", ref settings.agentMaxAcceleration, 8f, 999f, "%.1f");