isTriangle = function() {
                  if (tri.a !== undefined && tri.b !== undefined && tri.c !== undefined) {
                    return tri.a.x !== undefined;
                  }
                  return false;
                }
Processes the 3D vertices from a Processing.js Iterator object
@params {Iterator} iterator
@params {Number} shapeID
@params {Boolean} closed