Normand Briere
2019-09-02 21ac57b36a9e3b909853c7d64ac29b7ad72490a3
Grid.java
....@@ -4,7 +4,7 @@
44
55 Grid()
66 {
7
- this(35, 34);
7
+ this(36, 36);
88 }
99
1010 Grid(int u, int v)
....@@ -62,9 +62,19 @@
6262 */
6363 }
6464
65
+ double uStretch()
66
+ {
67
+ return 1;
68
+ }
69
+
70
+ double vFlip(double v)
71
+ {
72
+ return 1-v;
73
+ }
74
+
6575 Vertex biparamFunction(double u, double v)
6676 {
67
- Vertex temp = new Vertex((2*v-1)*radius*8, 0 /*-radius,*/, (2*u-1)*radius*8);
77
+ Vertex temp = new Vertex((2*v-1)*radius*4, 0 /*-radius,*/, (2*u-1)*radius*4);
6878 temp.norm = LA.newVector(0,1,0);
6979 return temp;
7080 }