Trait fyrox_core::math::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

Object Safety§

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§