Zadanie 2 improve text
This commit is contained in:
parent
17875206bf
commit
8f61b79431
@ -109,7 +109,7 @@ void imGuiRenderBallsControlsFrame(){
|
|||||||
ImGui::SliderFloat("Speed", &speed, 0.0f, 20.0f);
|
ImGui::SliderFloat("Speed", &speed, 0.0f, 20.0f);
|
||||||
ImGui::SliderFloat("Angle", &angle, 0.0f, 90.0f);
|
ImGui::SliderFloat("Angle", &angle, 0.0f, 90.0f);
|
||||||
|
|
||||||
if(ImGui::Button("Reset ball controls")){
|
if(ImGui::Button("Reset ball modifiers")){
|
||||||
gravity = initialGravity;
|
gravity = initialGravity;
|
||||||
airResistance = initialAirResistance;
|
airResistance = initialAirResistance;
|
||||||
speed = initialSpeed;
|
speed = initialSpeed;
|
||||||
|
Loading…
Reference in New Issue
Block a user