diff options
Diffstat (limited to 'servers/physics_2d/step_2d_sw.h')
-rw-r--r-- | servers/physics_2d/step_2d_sw.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/physics_2d/step_2d_sw.h b/servers/physics_2d/step_2d_sw.h index 917d69e7f1..0896e1016d 100644 --- a/servers/physics_2d/step_2d_sw.h +++ b/servers/physics_2d/step_2d_sw.h @@ -36,12 +36,12 @@ class Step2DSW { uint64_t _step; void _populate_island(Body2DSW* p_body,Body2DSW** p_island,Constraint2DSW **p_constraint_island); - bool _setup_island(Constraint2DSW *p_island,float p_delta); - void _solve_island(Constraint2DSW *p_island,int p_iterations,float p_delta); - void _check_suspend(Body2DSW *p_island,float p_delta); + bool _setup_island(Constraint2DSW *p_island,real_t p_delta); + void _solve_island(Constraint2DSW *p_island,int p_iterations,real_t p_delta); + void _check_suspend(Body2DSW *p_island,real_t p_delta); public: - void step(Space2DSW* p_space,float p_delta,int p_iterations); + void step(Space2DSW* p_space,real_t p_delta,int p_iterations); Step2DSW(); }; |