Function graphics::math::orient

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

Orients x axis to look at point.

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