Make the query pipeline serializable.

This commit is contained in:
Crozet Sébastien
2020-10-05 16:51:50 +02:00
parent bbfe926a11
commit 2d0a888484
3 changed files with 6 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
#[derive(Clone)]
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
pub struct IntegrationParameters {
/// The timestep (default: `1.0 / 60.0`)
/// The timestep length (default: `1.0 / 60.0`)
dt: f32,
/// The inverse of `dt`.
inv_dt: f32,