pub type Matrix2d<T = Scalar> = Matrix2x3<T>;
Expand description
The type used for matrices.
Trait Implementations§
source§impl Transformed for Matrix2d
impl Transformed for Matrix2d
source§fn append_transform(self, transform: Matrix2d) -> Self
fn append_transform(self, transform: Matrix2d) -> Self
Appends transform to the current one.
source§fn prepend_transform(self, transform: Matrix2d) -> Self
fn prepend_transform(self, transform: Matrix2d) -> Self
Prepends transform to the current one.
source§fn orient(self, x: Scalar, y: Scalar) -> Self
fn orient(self, x: Scalar, y: Scalar) -> Self
Orients x axis to look at point locally. Read more
source§fn orient_pos<P: Into<Vec2d>>(self, pos: P) -> Self
fn orient_pos<P: Into<Vec2d>>(self, pos: P) -> Self
Orients x axis to look at point locally.