diff options
| author | Ferenc Arn | 2017-02-13 17:25:05 -0600 |
|---|---|---|
| committer | Ferenc Arn | 2017-02-13 17:42:02 -0600 |
| commit | eae94ba1c87718c95768f90cda95cf665c77a362 (patch) | |
| tree | b620b063c4ea7e4dd86a07c46ace8373dd55dc78 /servers/physics/step_sw.cpp | |
| parent | 55dc24f75313071db00d6281bb3255da60d7fa82 (diff) | |
| download | godot-eae94ba1c87718c95768f90cda95cf665c77a362.tar.gz godot-eae94ba1c87718c95768f90cda95cf665c77a362.tar.zst godot-eae94ba1c87718c95768f90cda95cf665c77a362.zip | |
Diffstat (limited to 'servers/physics/step_sw.cpp')
| -rw-r--r-- | servers/physics/step_sw.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/physics/step_sw.cpp b/servers/physics/step_sw.cpp index 30ee33a7d..0bd5a874e 100644 --- a/servers/physics/step_sw.cpp +++ b/servers/physics/step_sw.cpp @@ -58,7 +58,7 @@ void StepSW::_populate_island(BodySW* p_body,BodySW** p_island,ConstraintSW **p_ } } -void StepSW::_setup_island(ConstraintSW *p_island,float p_delta) { +void StepSW::_setup_island(ConstraintSW *p_island,real_t p_delta) { ConstraintSW *ci=p_island; while(ci) { @@ -68,7 +68,7 @@ void StepSW::_setup_island(ConstraintSW *p_island,float p_delta) { } } -void StepSW::_solve_island(ConstraintSW *p_island,int p_iterations,float p_delta){ +void StepSW::_solve_island(ConstraintSW *p_island,int p_iterations,real_t p_delta){ int at_priority=1; @@ -107,7 +107,7 @@ void StepSW::_solve_island(ConstraintSW *p_island,int p_iterations,float p_delta } -void StepSW::_check_suspend(BodySW *p_island,float p_delta) { +void StepSW::_check_suspend(BodySW *p_island,real_t p_delta) { bool can_sleep=true; @@ -145,7 +145,7 @@ void StepSW::_check_suspend(BodySW *p_island,float p_delta) { } } -void StepSW::step(SpaceSW* p_space,float p_delta,int p_iterations) { +void StepSW::step(SpaceSW* p_space,real_t p_delta,int p_iterations) { p_space->lock(); // can't access space during this |
