toMatrix4 method
Creates a typed data representatino of this matrix suitable for use with
package:vector_math_64
(and, by extension, Flutter/dart:ui).
Implementation
Float64List toMatrix4() {
return Float64List.fromList(<double>[
a, b, 0, 0, //
c, d, 0, 0, //
0, 0, _m4_10, 0, //
e, f, 0, 1.0, //
]);
}