Fix multiple warnings.
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
use crate::dynamics::MassProperties;
|
||||
use crate::geometry::Cone;
|
||||
use crate::math::{Point, PrincipalAngularInertia, Rotation, Vector};
|
||||
|
||||
impl MassProperties {
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
use crate::dynamics::MassProperties;
|
||||
use crate::math::{PrincipalAngularInertia, Vector};
|
||||
#[cfg(feature = "dim3")]
|
||||
use {
|
||||
crate::geometry::Capsule,
|
||||
crate::math::{Point, Rotation},
|
||||
};
|
||||
use crate::math::{Point, Rotation};
|
||||
use crate::math::{PrincipalAngularInertia, Vector};
|
||||
|
||||
impl MassProperties {
|
||||
pub(crate) fn cylinder_y_volume_unit_inertia(
|
||||
|
||||
Reference in New Issue
Block a user