daily update on 20240104 by nitload youmu, double threading not work

This commit is contained in:
Nitload
2024-01-04 08:58:12 +08:00
parent 14eaab455f
commit 2767c91293
138 changed files with 9692 additions and 11011 deletions
+31
View File
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp.Math
{
[StructLayout(LayoutKind.Explicit, Size = 16)]
public struct GLhalfNV
{
[FieldOffset(0)] public short binary;
public GLhalfNV(short bin)
{
binary = bin;
}
public static explicit operator short(GLhalfNV x)
{
return x.binary;
}
public static explicit operator GLhalfNV(short x)
{
return new GLhalfNV(x);
}
}
}