


My code is quite long, but it is mainly this part repeated 8 times, one for each face.
There are three variables: distcentre, distcentre2 and bump:
//myList = new oog.Line();
//myList2 = new oog.Line();
//
//for(int i=0; i<70; scaler =" 1-i/50f;" i="0;">
//{
//Face myFace = new Face();
//
//myFace.add(myList.pt(i));
//myFace.add(myList.pt(i+1));
//myFace.add(myList2.pt(i));
//
//form.add(myFace);
//
//myFace = new Face();
//
//myFace.add(myList.pt(i+1));
//myFace.add(myList2.pt(i+1));
//myFace.add(myList2.pt(i));
//
//form.add(myFace);
//}
(I had to add the //, because blogger had some problems with this code in the html...)
No comments:
Post a Comment