pub trait AngularInertiaOps<N>:
Copy
+ Debug
+ Default {
type AngVector;
type AngMatrix;
// Required methods
fn inverse(&self) -> Self;
fn transform_vector(&self, pt: Self::AngVector) -> Self::AngVector;
fn into_matrix(self) -> Self::AngMatrix;
}Expand description
Trait for angular inertia operations.
Required Associated Types§
Required Methods§
Sourcefn transform_vector(&self, pt: Self::AngVector) -> Self::AngVector
fn transform_vector(&self, pt: Self::AngVector) -> Self::AngVector
Transforms a vector by this angular inertia.
Sourcefn into_matrix(self) -> Self::AngMatrix
fn into_matrix(self) -> Self::AngMatrix
Converts this angular inertia into a matrix.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl AngularInertiaOps<f32> for SdpMatrix3<f32>
Available on crate feature dim3 only.
impl AngularInertiaOps<f32> for SdpMatrix3<f32>
Available on crate feature
dim3 only.