identity static method

List<double> identity()

Implementation

static List<double> identity() {
  // Note: This matrix flips the Y axis so 0 is at the top.
  return [
    1, 0, 0, 0, //
    0, 1, 0, 0, //
    0, 0, 1, 0, //
    0, 0, 0, 1, //
  ];
}