예제 #1
0
 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);
 }
예제 #2
0
        //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);
        }