CSharp ArrayAddition

From scripting
Revision as of 04:59, 22 April 2017 by Nickpisca (talk | contribs) (Created page with " static double[] ArrayAddition(double[] a, double[] b) { double[] c = { a[0] + b[0], a[1] + b[1], a[2] + b[2] }; return c;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
        static double[] ArrayAddition(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.