Exemple #1
0
 public Vector3Half(float x, float y, float z)
 {
     this.x = (Half)x;
     this.y = (Half)y;
     this.z = (Half)z;
 }
Exemple #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;
 }
Exemple #3
0
 public Vector2Half(float x, float y)
 {
     this.x = (Half)x;
     this.y = (Half)y;
 }
Exemple #4
0
 public static bool IsNaN(Half value)
 {
     return value.Mantissa != 0 && value.Exponent == 31;
 }
Exemple #5
0
 public Vector2Half(float x, float y)
 {
     this.x = (Half)x;
     this.y = (Half)y;
 }
Exemple #6
0
 public Vector3Half(float x, float y, float z)
 {
     this.x = (Half)x;
     this.y = (Half)y;
     this.z = (Half)z;
 }
Exemple #7
0
		public static bool IsNaN(Half value)
		{
			return value.Mantissa != 0 && value.Exponent == 31;
		}