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

pub fn orient(x: Scalar, y: Scalar) -> Matrix2d

Orients x axis to look at point.

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