CSharp ArraySubtraction

From scripting
Jump to: navigation, search
        static double[] ArraySubtraction(double[] a, double[] b)
        {
            double[] c = {a[0] - b[0], a[1] - b[1], a[2] - b[2]};
            return c;
        }


This subroutine was used in the development of the Mega-Dots World's Toughest Connect-the-Dots Puzzles.

Unrelated MEL scripting help located here: YSYT.