From f9325048496d7cdbcad233f8a6b84c88e79adcc2 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Tue, 17 Sep 2019 20:11:47 -0400 Subject: [PATCH] Rename link2master to link2support. --- Cone.java | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Cone.java b/Cone.java index 63892ae..490678a 100644 --- a/Cone.java +++ b/Cone.java @@ -16,7 +16,7 @@ retile(); base = LA.newVector(0, 0, 0); // -1); apex = LA.newVector(0, 1, 0); // 1); - baseRadius = apexRadius = 1; // 0.125; + baseRadius = apexRadius = 0.5; // 0.125; //fromStandard = new double[4][4]; //toStandard = new double[4][4]; //LA.matIdentity(fromStandard); @@ -86,9 +86,9 @@ return cone; } - protected void deepCopySelf(Object3D other) + protected void deepCopyNode(Object3D other) { - super.deepCopySelf(other); + super.deepCopyNode(other); Cone c = (Cone)other; LA.vecCopy(base, c.base); c.baseRadius = baseRadius; @@ -193,6 +193,16 @@ return inside; } + double uStretch() + { + return 3; // Actually 3.14 (I think) + } + + double vFlip(double v) + { + return 1-v; + } + Vertex biparamFunction(double u, double v) { cVector tPos; -- Gitblit v1.6.2