Normand Briere
2019-08-15 33504fc9a180903aace77613264550754fba5706
Torus.java
....@@ -56,6 +56,11 @@
5656 buffer.append("}\n");
5757 }
5858
59
+ double uStretch()
60
+ {
61
+ return 6; // Actually 6.28 (I think)
62
+ }
63
+
5964 Vertex biparamFunction(double u, double v)
6065 {
6166 if (u == 1)
....@@ -87,6 +92,9 @@
8792 //temp.pos = tPos; // useless new
8893 temp.norm = tNorm;
8994 LA.vecNormalize(temp.norm);
95
+
96
+ temp.y += minor;
97
+
9098 return temp;
9199 }
92100