PixelMagic.Texture.Clamp C# (CSharp) Method

Clamp() static private method

static private Clamp ( Mono.Simd.Vector4f v ) : Mono.Simd.Vector4f
v Mono.Simd.Vector4f
return Mono.Simd.Vector4f
        static Vector4f Clamp(Vector4f v)
        {
            return v.Max (Vector4f.Zero).Min (Vector4f.One);
        }