From 5e6a6f3319f0c4c687fe71952ac9ecc17792b83a Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 10 Jun 2019 20:37:18 -0400 Subject: [PATCH] Fix normal for mesh --- Grid.java | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Grid.java b/Grid.java index 8a2d40b..1780c12 100644 --- a/Grid.java +++ b/Grid.java @@ -4,6 +4,11 @@ Grid() { + this(36, 36); + } + + Grid(int u, int v) + { super(false); //this(true); //} @@ -12,8 +17,8 @@ //{ inPnt = new cVector(); name = "Grid"; - uDivs = 35; - vDivs = 34; + uDivs = u; + vDivs = v; minUDivs = 1; minVDivs = 1; center = new cVector(); -- Gitblit v1.6.2