avian2d::math

Type Alias Matrix

Source
pub type Matrix = Mat2;
Expand description

The dimension-specific matrix type used by Avian.

Aliased Type§

struct Matrix(/* private fields */);

Trait Implementations§

Source§

impl From<Rotation> for Matrix

Source§

fn from(rot: Rotation) -> Self

Creates a Matrix rotation matrix from a Rotation.