daily update on 20230309 by nitload youmu

This commit is contained in:
Nitload
2023-03-10 01:57:31 +08:00
parent 11cdd85b3b
commit 561196bed2
53 changed files with 1491 additions and 360 deletions
+6 -6
View File
@@ -16,23 +16,23 @@ namespace StgSharp.Math
{
float* p = &array.row1.X;
Matrix2x2 array1 = new Matrix2x2(
Matrix2x2 matrix1 = new Matrix2x2(
*(p + 4), *(p + 5),
*(p + 7), *(p + 8)
);
Matrix2x2 array2 = new Matrix2x2(
Matrix2x2 matrix2 = new Matrix2x2(
*(p + 3), *(p + 5),
*(p + 6), *(p + 8)
);
Matrix2x2 array3 = new Matrix2x2(
Matrix2x2 matrix3 = new Matrix2x2(
*(p + 3), *(p + 4),
*(p + 6), *(p + 7)
);
return
*p * Det(array1)
- *(p + 1) * Det(array2)
+ *(p + 2) * Det(array3)
*p * Det(matrix1)
- *(p + 1) * Det(matrix2)
+ *(p + 2) * Det(matrix3)
;
}
}