AcTools.Render.Base.PostEffects.BlurHelper.ComputeGaussian C# (CSharp) Méthode

ComputeGaussian() static private méthode

static private ComputeGaussian ( float n, float theta ) : float
n float
theta float
Résultat float
        static float ComputeGaussian(float n, float theta) {
            return MathF.Exp(-n * n / (2.0f * theta * theta)) / MathF.Sqrt(2.0f * MathF.PI * theta);
        }