Deprectate IntegrationParameters::new

This commit is contained in:
Emil Ernerfeldt
2021-01-22 13:33:11 +01:00
parent 95c6199a9a
commit 581d13edbd

View File

@@ -86,6 +86,7 @@ pub struct IntegrationParameters {
impl IntegrationParameters {
/// Creates a set of integration parameters with the given values.
#[deprecated = "Use `IntegrationParameters { dt: 60.0, ..Default::default() }` instead"]
pub fn new(
dt: f32,
// multithreading_enabled: bool,