From 6266c8a4b2485b29a7d5bcb217460d7aad3e1c4a Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Sun, 25 Aug 2019 20:58:10 -0400 Subject: [PATCH] Proto version slider. --- Grid.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/Grid.java b/Grid.java index 1780c12..f4023e6 100644 --- a/Grid.java +++ b/Grid.java @@ -62,9 +62,19 @@ */ } + double uStretch() + { + return 1; + } + + double vFlip(double v) + { + return 1-v; + } + Vertex biparamFunction(double u, double v) { - Vertex temp = new Vertex((2*v-1)*radius*8, 0 /*-radius,*/, (2*u-1)*radius*8); + Vertex temp = new Vertex((2*v-1)*radius*4, 0 /*-radius,*/, (2*u-1)*radius*4); temp.norm = LA.newVector(0,1,0); return temp; } -- Gitblit v1.6.2