[][src]Trait rust_3d::IsDirectionField2D

pub trait IsDirectionField2D {
    fn direction_at<P>(&self, p: &P) -> Norm2D
    where
        P: Is2D
; }

IsDirectionField2D is a trait used for fields of directions within 2D space

Required methods

fn direction_at<P>(&self, p: &P) -> Norm2D where
    P: Is2D

Should return the direction at the given position

Loading content...

Implementors

Loading content...