Make the CCDSolver clonable and serializable.
This commit is contained in:
@@ -15,7 +15,10 @@ pub enum PredictedImpacts {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Solver responsible for performing motion-clamping on fast-moving bodies.
|
/// Solver responsible for performing motion-clamping on fast-moving bodies.
|
||||||
|
#[derive(Clone)]
|
||||||
|
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
|
||||||
pub struct CCDSolver {
|
pub struct CCDSolver {
|
||||||
|
#[cfg_attr(feature = "serde-serialize", serde(skip))]
|
||||||
query_pipeline: QueryPipeline,
|
query_pipeline: QueryPipeline,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user