コード例 #1
0
        public void PackFromRgba32(Rgba32 source)
        {
            Vector4 vector = source.ToByteScaledVector4();

            vector -= Round;
            vector -= Half;
            vector -= Round;
            vector /= Half;
            this.PackFromVector4(vector);
        }
コード例 #2
0
 public void PackFromRgba32(Rgba32 source)
 {
     this.PackFromVector4(source.ToByteScaledVector4());
 }