From 6a823ffbfcda4c843f46e02e83c869d5bc323e25 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Wed, 21 Aug 2019 20:15:53 -0400 Subject: [PATCH] Parallax presets --- Grid.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/Grid.java b/Grid.java index e8b144a..f4023e6 100644 --- a/Grid.java +++ b/Grid.java @@ -62,6 +62,16 @@ */ } + 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*4, 0 /*-radius,*/, (2*u-1)*radius*4); -- Gitblit v1.6.2