demo/triangle.oppositeSide.js
function Tri() {
  Triangle.apply( this, arguments );
  this.target = {vec: null, t: 0};
  this.vertices = ["p0","p1","p2"];
  this.colorId = 1 + (colorToggle % 3);
}
function Tri() {
  Triangle.apply( this, arguments );
  this.target = {vec: null, t: 0};
  this.vertices = ["p0","p1","p2"];
  this.colorId = 1 + (colorToggle % 3);
}
function Tri ( ) { Triangle . apply ( this , arguments ) ; this . target = { vec : null , t : 0 } ; this . vertices = [ "p0" , "p1" , "p2" ] ; this . colorId = 1 + ( colorToggle % 3 ) ; }
Tri is a kind of Triangle which can generate new triangles by unfolding.
Tri is a kind of Triangle which can generate new triangles by unfolding .