Matrix3.rows constructor

Matrix3.rows(
  1. Vector3 r0,
  2. Vector3 r1,
  3. Vector3 r2
)

Constructs a Matrix3 from the given row vectors.

Implementation

Matrix3.rows(Vector3 r0, Vector3 r1, Vector3 r2)
    : _m3Storage = Float32List.fromList([
  r0.x, r0.y, r0.z,
  r1.x, r1.y, r1.z,
  r2.x, r2.y, r2.z,
]);