set function

List<double> set(
  1. List<double> out,
  2. double m00,
  3. double m01,
  4. double m10,
  5. double m11,
)

Set the components of a mat2 to the given values

@param {mat2} out the receiving matrix @param {Number} m00 Component in column 0, row 0 position (index 0) @param {Number} m01 Component in column 0, row 1 position (index 1) @param {Number} m10 Component in column 1, row 0 position (index 2) @param {Number} m11 Component in column 1, row 1 position (index 3) @returns {mat2} out

Implementation

List<double> set(List<double> out, double m00, double m01, double m10, double m11) {
  out[0] = m00;
  out[1] = m01;
  out[2] = m10;
  out[3] = m11;
  return out;
}