Esempio n. 1
0
 public Vector3Half(float x, float y, float z)
 {
     this.x = (Half)x;
     this.y = (Half)y;
     this.z = (Half)z;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public Vector2Half(float x, float y)
 {
     this.x = (Half)x;
     this.y = (Half)y;
 }
Esempio n. 4
0
File: Half.cs Progetto: r-bel/glorg2
 public static bool IsNaN(Half value)
 {
     return value.Mantissa != 0 && value.Exponent == 31;
 }
Esempio n. 5
0
 public Vector2Half(float x, float y)
 {
     this.x = (Half)x;
     this.y = (Half)y;
 }
Esempio n. 6
0
 public Vector3Half(float x, float y, float z)
 {
     this.x = (Half)x;
     this.y = (Half)y;
     this.z = (Half)z;
 }
Esempio n. 7
0
		public static bool IsNaN(Half value)
		{
			return value.Mantissa != 0 && value.Exponent == 31;
		}