Trait fyrox_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 Vector2<f32>

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

Implementors§