Trait bevy_physimple::common::Vec2Ext[][src]

pub trait Vec2Ext {
    fn project(self, other: Vec2) -> Vec2;
fn slide(self, normal: Vec2) -> Vec2; }

Required methods

fn project(self, other: Vec2) -> Vec2[src]

Returns a projected copy of the current vector on other

fn slide(self, normal: Vec2) -> Vec2[src]

Returns a slided copy of the current vector on normal

Loading content...

Implementations on Foreign Types

impl Vec2Ext for Vec2[src]

Loading content...

Implementors

Loading content...