Beispiel #1
0
        //void PackFromVector4(Vector4 vector) {
        //    this.packedValue = HalfUtils.Pack(vector.X);
        //}

        internal float ToSingle()
        {
            return(HalfUtils.Unpack(this.packedValue));
        }
Beispiel #2
0
 internal HalfSingle(float value)
 {
     this.packedValue = HalfUtils.Pack(value);
 }