12 private readonly
double angle;
39 public override void Operate(ref
double x, ref
double y)
41 double p1 = this.angle * Math.PI / 2;
42 double r1, r2, r3, r4;
46 r1 = this.gen.NextDouble();
47 r2 = this.gen.NextDouble();
48 r3 = this.gen.NextDouble();
49 r4 = this.gen.NextDouble();
53 double t2 = Math.Atan2(y, x) + t1 * Math.Sin(p1);
54 double t3 = t1 * Math.Cos(p1) - 1;
55 double r = Math.Sqrt(x * x + y * y);
60 private readonly Random gen =
new Random();
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
override IElement Evaluate(IElement Argument, Variables Variables)
TODO
override string FunctionName
TODO
override void Operate(ref double x, ref double y)
TODO
RadialBlurVariation(ScriptNode Parameter, int Start, int Length, Expression Expression)
TODO
double variationWeight
TODO
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
Basic interface for all types of elements.