public static List <Math3D.Line3D> RotateX(List <Math3D.Line3D> lines, double degrees) { for (int i = 0; i < lines.Count; i++) { lines[i] = Math3D.RotateX(lines[i], degrees); } return(lines); }
//These are to make the above functions workable with arrays of 3D points public static Surface RotateX(Surface surface, double degrees) { surface.points = Math3D.RotateX(surface.points, degrees); return(surface); }