Пример #1
0
 public Vector3Half(float x, float y, float z)
 {
     this.x = (Half)x;
     this.y = (Half)y;
     this.z = (Half)z;
 }
Пример #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;
 }
Пример #3
0
 public Vector2Half(float x, float y)
 {
     this.x = (Half)x;
     this.y = (Half)y;
 }
Пример #4
0
 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;
		}