Trait fyrox_core::math::Vector2Ext

source ·
pub trait Vector2Ext {
    // Required methods
    fn follow(&mut self, other: &Self, fraction: f32);
    fn per_component_min(&self, other: &Self) -> Self;
    fn per_component_max(&self, other: &Self) -> Self;
}

Required Methods§

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Vector2Ext for Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>

source§

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

source§

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

source§

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

Implementors§