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 -8
View File
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Math
namespace StgSharp.Math
{
public static unsafe partial class Calc
{
@@ -25,14 +21,14 @@ namespace StgSharp.Math
}
bool sign = false;
if (x<0)
if (x < 0)
{
sign = true;
x = -x;
}
float z = x , t;
if (x<0.5f)
float z = x, t;
if (x < 0.5f)
{
t = 1.0f + x * (
1.0f + x * (