Beispiel #1
0
 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;
 }
Beispiel #2
0
 public mat3(double[] rowMajorArray)
 {
     buffer = new Mat3Buffer();
     for (int i = 0; i < SIZE * SIZE; i++)
     {
         buffer[i] = rowMajorArray[i];
     }
 }
Beispiel #3
0
 public mat3(Mat3Buffer buf) =>