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
+5 -7
View File
@@ -1,12 +1,10 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace StgSharp.Math
{
[StructLayout(LayoutKind.Explicit)]
public struct matrix3x2:IEquatable<matrix3x2>
public struct matrix3x2 : IEquatable<matrix3x2>
{
[FieldOffset(0)]
public vec2d row1;
@@ -15,11 +13,11 @@ namespace StgSharp.Math
[FieldOffset(16)]
public vec2d row3;
public matrix3x2(vec2d r1,vec2d r2,vec2d r3)
public matrix3x2(vec2d r1, vec2d r2, vec2d r3)
{
row1= r1;
row2= r2;
row3= r3;
row1 = r1;
row2 = r2;
row3 = r3;
}
public matrix3x2(