Function graphics_buffer::identity
source · pub fn identity() -> Matrix2d
Expand description
Returns the identity matrix: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]
.
pub fn identity() -> Matrix2d
Returns the identity matrix: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]
.