Trait rust_3d::traits::IsDirectionField2D
[−]
[src]
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,
P: Is2D,
Should return the direction at the given position