PySoy: Distance Squared
completed by: Matt Habel
mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh
Write an Orc function which, given 3 arrays representing the X, Y, and Z of bodies and the (X, Y, Z) of a target body, calculate the distance squared from that target body to every body in the array.
This function has a multitude of uses from collision to fields to alpha blending.
While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.
When you've done, commit your work and post the resulting changeset url to this task.