Vector3Ext

Trait Vector3Ext 

Source
pub trait Vector3Ext {
    // Required methods
    fn follow(&mut self, other: &Self, fraction: f32);
    fn sqr_distance(&self, other: &Self) -> f32;
    fn non_uniform_scale(&self, other: &Self) -> Self;
}

Required Methods§

Source

fn follow(&mut self, other: &Self, fraction: f32)

Source

fn sqr_distance(&self, other: &Self) -> f32

Source

fn non_uniform_scale(&self, other: &Self) -> Self

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 Vector3Ext for Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>

Source§

fn follow( &mut self, other: &Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>, fraction: f32, )

Source§

fn sqr_distance( &self, other: &Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>, ) -> f32

Source§

fn non_uniform_scale( &self, other: &Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>, ) -> Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>

Implementors§