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.
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.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).