alexr4_Processing-3_0_1-alpha-Various-Snippet/Processing-301-snippets/GenerativeDesign/3D/s3D_GeometryStrip/faces.pde
class face
{
  ArrayList<pointCoord> pts;
  int ptsArraySize;
  int indexFace;
  

  face(int indexFace_) {
    indexFace = indexFace_;
    pts = new ArrayList<pointCoord>();
  }

  void addPoint(PVector a, PVector b, PVector c)
  {
    pts.add(new pointCoord(a));
    pts.add(new pointCoord(b));
    pts.add(new pointCoord(c));
  }

  void drawConnection(PVector m, float vz, float limite)
  {
    for (pointCoord p: pts)
    {
      
      p.overDesign(m, vz, limite);
      p.drawVertex();
      
    }
  }
}