OpenGL rebuild project start!
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace StgSharp.Graphics
|
||||
{
|
||||
public struct GLclampd
|
||||
{
|
||||
private double value;
|
||||
|
||||
public void SetValue(double v)
|
||||
{
|
||||
if (v<0||v>1)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException("Input is out of range");
|
||||
}
|
||||
else
|
||||
{
|
||||
value = v;
|
||||
}
|
||||
}
|
||||
|
||||
public double Value()
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public static implicit operator double(GLclampd gLclampd)
|
||||
{
|
||||
return gLclampd.value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace StgSharp.Graphics
|
||||
{
|
||||
public enum GLenum:uint
|
||||
{
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user