Difference between revisions of "CSharp ArraySubtraction"

From scripting
Jump to: navigation, search
(Created page with " static double[] ArraySubtraction(double[] a, double[] b) { double[] c = {a[0] - b[0], a[1] - b[1], a[2] - b[2]}; return c;...")
 
(No difference)

Latest revision as of 05:00, 22 April 2017

        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.