OpenGL rebuild project start!

This commit is contained in:
Nitload
2023-04-29 03:06:32 +08:00
parent 7dba067146
commit 4dd3f4f6d1
263 changed files with 51374 additions and 1522 deletions
@@ -0,0 +1,31 @@
using System;
namespace StgSharp.Graphics
{
public struct GLclampf
{
private float value;
public void Value(float v)
{
if (v<0||v>1)
{
throw new ArgumentOutOfRangeException("Input is out of range!");
}
else
{
value = v;
}
}
public float Value()
{
return value;
}
public static implicit operator float(GLclampf gLclampf)
{
return gLclampf.value;
}
}
}