示例#1
0
文件: Vector.cs 项目: r-bel/glorg2
 public Vector3Half(float x, float y, float z)
 {
     this.x = (Half)x;
     this.y = (Half)y;
     this.z = (Half)z;
 }
示例#2
0
文件: Vector.cs 项目: r-bel/glorg2
 public Vector4Half(float x, float y, float z, float w)
 {
     this.x = (Half)x;
     this.y = (Half)y;
     this.z = (Half)z;
     this.w = (Half)w;
 }
示例#3
0
文件: Vector.cs 项目: r-bel/glorg2
 public Vector2Half(float x, float y)
 {
     this.x = (Half)x;
     this.y = (Half)y;
 }
示例#4
0
文件: Half.cs 项目: r-bel/glorg2
 public static bool IsNaN(Half value)
 {
     return value.Mantissa != 0 && value.Exponent == 31;
 }
示例#5
0
 public Vector2Half(float x, float y)
 {
     this.x = (Half)x;
     this.y = (Half)y;
 }
示例#6
0
 public Vector3Half(float x, float y, float z)
 {
     this.x = (Half)x;
     this.y = (Half)y;
     this.z = (Half)z;
 }
示例#7
0
		public static bool IsNaN(Half value)
		{
			return value.Mantissa != 0 && value.Exponent == 31;
		}