.. | .. |
---|
16 | 16 | retile(); |
---|
17 | 17 | base = LA.newVector(0, 0, 0); // -1); |
---|
18 | 18 | apex = LA.newVector(0, 1, 0); // 1); |
---|
19 | | - baseRadius = apexRadius = 1; // 0.125; |
---|
| 19 | + baseRadius = apexRadius = 0.5; // 0.125; |
---|
20 | 20 | //fromStandard = new double[4][4]; |
---|
21 | 21 | //toStandard = new double[4][4]; |
---|
22 | 22 | //LA.matIdentity(fromStandard); |
---|
.. | .. |
---|
86 | 86 | return cone; |
---|
87 | 87 | } |
---|
88 | 88 | |
---|
89 | | - protected void deepCopySelf(Object3D other) |
---|
| 89 | + protected void deepCopyNode(Object3D other) |
---|
90 | 90 | { |
---|
91 | | - super.deepCopySelf(other); |
---|
| 91 | + super.deepCopyNode(other); |
---|
92 | 92 | Cone c = (Cone)other; |
---|
93 | 93 | LA.vecCopy(base, c.base); |
---|
94 | 94 | c.baseRadius = baseRadius; |
---|
.. | .. |
---|
193 | 193 | return inside; |
---|
194 | 194 | } |
---|
195 | 195 | |
---|
| 196 | + double uStretch() |
---|
| 197 | + { |
---|
| 198 | + return 3; // Actually 3.14 (I think) |
---|
| 199 | + } |
---|
| 200 | + |
---|
| 201 | + double vFlip(double v) |
---|
| 202 | + { |
---|
| 203 | + return 1-v; |
---|
| 204 | + } |
---|
| 205 | + |
---|
196 | 206 | Vertex biparamFunction(double u, double v) |
---|
197 | 207 | { |
---|
198 | 208 | cVector tPos; |
---|