public mat3(double i0, double i1, double i2, double j0, double j1, double j2, double k0, double k1, double k2) { buffer = new Mat3Buffer(); buffer[0] = i0; buffer[1] = i1; buffer[2] = i2; buffer[3] = j0; buffer[4] = j1; buffer[5] = j2; buffer[6] = k0; buffer[7] = k1; buffer[8] = k2; }
public mat3(double[] rowMajorArray) { buffer = new Mat3Buffer(); for (int i = 0; i < SIZE * SIZE; i++) { buffer[i] = rowMajorArray[i]; } }
public mat3(Mat3Buffer buf) =>