Skip to content

Commit

Permalink
Fix nalgebra cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
avl committed Oct 2, 2024
1 parent 5c067cc commit 63df03f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions savefile/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6586,6 +6586,7 @@ impl<T1: Deserialize> Deserialize for (T1,) {
}


#[cfg(feature="nalgebra")]
impl<T:nalgebra::Scalar> Introspect for nalgebra::Point3<T> {
fn introspect_value(&self) -> String {
format!("{:?}", self)
Expand All @@ -6595,6 +6596,7 @@ impl<T:nalgebra::Scalar> Introspect for nalgebra::Point3<T> {
None
}
}
#[cfg(feature="nalgebra")]
impl<T:nalgebra::Scalar> Introspect for nalgebra::Vector3<T> {
fn introspect_value(&self) -> String {
format!("{:?}", self)
Expand All @@ -6604,6 +6606,7 @@ impl<T:nalgebra::Scalar> Introspect for nalgebra::Vector3<T> {
None
}
}
#[cfg(feature="nalgebra")]
impl<T:nalgebra::Scalar> Introspect for nalgebra::Isometry3<T> {
fn introspect_value(&self) -> String {
format!("{:?}", self)
Expand Down

0 comments on commit 63df03f

Please sign in to comment.