Fix multiple warnings.

This commit is contained in:
Crozet Sébastien
2020-10-26 16:36:07 +01:00
parent ba6655be8e
commit 08930b1238
17 changed files with 23 additions and 51 deletions

View File

@@ -1,7 +1,7 @@
use crate::dynamics::MassProperties;
use crate::math::Point;
#[cfg(feature = "dim3")]
use crate::{geometry::Capsule, math::Rotation};
use crate::geometry::Capsule;
use crate::math::Point;
impl MassProperties {
pub(crate) fn from_capsule(density: f32, a: Point<f32>, b: Point<f32>, radius: f32) -> Self {