Normand Briere
2019-09-18 f9325048496d7cdbcad233f8a6b84c88e79adcc2
Cone.java
....@@ -16,7 +16,7 @@
1616 retile();
1717 base = LA.newVector(0, 0, 0); // -1);
1818 apex = LA.newVector(0, 1, 0); // 1);
19
- baseRadius = apexRadius = 1; // 0.125;
19
+ baseRadius = apexRadius = 0.5; // 0.125;
2020 //fromStandard = new double[4][4];
2121 //toStandard = new double[4][4];
2222 //LA.matIdentity(fromStandard);
....@@ -86,9 +86,9 @@
8686 return cone;
8787 }
8888
89
- protected void deepCopySelf(Object3D other)
89
+ protected void deepCopyNode(Object3D other)
9090 {
91
- super.deepCopySelf(other);
91
+ super.deepCopyNode(other);
9292 Cone c = (Cone)other;
9393 LA.vecCopy(base, c.base);
9494 c.baseRadius = baseRadius;
....@@ -195,7 +195,12 @@
195195
196196 double uStretch()
197197 {
198
- return 6; // Actually 6.28 (I think)
198
+ return 3; // Actually 3.14 (I think)
199
+ }
200
+
201
+ double vFlip(double v)
202
+ {
203
+ return 1-v;
199204 }
200205
201206 Vertex biparamFunction(double u, double v)