public float ToSingle() { return(HalfTypeHelper.Unpack(this.PackedValue)); }
public void PackFromVector4(Vector4 vector) { this.PackedValue = HalfTypeHelper.Pack(vector.X); }
/// <summary> /// Initializes a new instance of the <see cref="HalfSingle"/> struct. /// </summary> /// <param name="single">The single component.</param> public HalfSingle(float single) { this.PackedValue = HalfTypeHelper.Pack(single); }