Reorder default() constructor order to match that of the struct
Makes it easier to verify the default values mentioned in the docstrings.
This commit is contained in:
@@ -186,15 +186,16 @@ impl Default for IntegrationParameters {
|
||||
dt: 1.0 / 60.0,
|
||||
inv_dt: 60.0,
|
||||
// multithreading_enabled: true,
|
||||
return_after_ccd_substep: false,
|
||||
erp: 0.2,
|
||||
joint_erp: 0.2,
|
||||
warmstart_coeff: 1.0,
|
||||
restitution_velocity_threshold: 1.0,
|
||||
allowed_linear_error: 0.005,
|
||||
prediction_distance: 0.002,
|
||||
allowed_angular_error: 0.001,
|
||||
max_linear_correction: 0.2,
|
||||
max_angular_correction: 0.2,
|
||||
prediction_distance: 0.002,
|
||||
max_stabilization_multiplier: 0.2,
|
||||
max_velocity_iterations: 4,
|
||||
max_position_iterations: 1,
|
||||
@@ -206,7 +207,6 @@ impl Default for IntegrationParameters {
|
||||
min_island_size: 128,
|
||||
max_ccd_position_iterations: 10,
|
||||
max_ccd_substeps: 1,
|
||||
return_after_ccd_substep: false,
|
||||
multiple_ccd_substep_sensor_events_enabled: false,
|
||||
ccd_on_penetration_enabled: false,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user