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
+4 -7
View File
@@ -1,13 +1,10 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace StgSharp.Math
{
[StructLayout(LayoutKind.Explicit)]
public struct matrix2x3:IEquatable<matrix2x3>
public struct matrix2x3 : IEquatable<matrix2x3>
{
[FieldOffset(0)]
public vec3d row1;
@@ -63,7 +60,7 @@ namespace StgSharp.Math
}
else
{
return
return
this.row1 == other.row1
&& this.row2 == other.row2;
}
@@ -90,7 +87,7 @@ namespace StgSharp.Math
return new matrix2x3(
array.row1 * x,
array.row2 * x
) ;
);
}
public static matrix2x3 operator /(matrix2x3 array, float x)
@@ -101,7 +98,7 @@ namespace StgSharp.Math
);
}
}
}