New IO structure, unexpexted error in C code

This commit is contained in:
Nitload
2023-06-22 03:33:24 +08:00
parent 50b4965e54
commit ee8132c149
172 changed files with 1344 additions and 4023 deletions
+3 -7
View File
@@ -1,15 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Math
namespace StgSharp.Math
{
public static unsafe partial class Vector
{
public static float Det(matrix2x2 array)
{
return Cross(array.row1,array.row2);
return Cross(array.row1, array.row2);
}
public static unsafe float Det(matrix3x3 array)
@@ -29,7 +25,7 @@ namespace StgSharp.Math
*(p + 6), *(p + 7)
);
return
return
*p * Det(matrix1)
- *(p + 1) * Det(matrix2)
+ *(p + 2) * Det(matrix3)