[][src]Function graphics::math::orient

pub fn orient<T>(x: T, y: T) -> Matrix2d<T> where
    T: Float

Orients x axis to look at point.

Leaves x axis unchanged if the point to look at is the origin.