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.