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

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