daily update on 20230309 by nitload youmu
This commit is contained in:
@@ -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)
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user