/** * Multiplicates all Vector3D of the Vector3D array with the given transformation matrix, thus * transforming them. <br> * Make a deepcopy of the vectors first if you dont want the originals being altered! * * @param points the points * @param transformMatrix the transform matrix * @return the transformed vector array */ public static Vertex[] transFormArray(Matrix transformMatrix, Vertex[] points) { for (Vertex v : points) v.transform(transformMatrix); return points; }