makeSegmentTriangles method

dynamic makeSegmentTriangles(
  1. dynamic u1
)

Implementation

makeSegmentTriangles(u1) {
  addVertex(lastPointR, u0, 1);
  addVertex(lastPointL, u0, 0);
  addVertex(currentPointL, u1, 0);

  addVertex(lastPointR, u0, 1);
  addVertex(currentPointL, u1, 1);
  addVertex(currentPointR, u1, 0);
}