From 29d5516687020263d3ae0454ce81879a3a450af0 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Thu, 01 Aug 2019 00:20:18 -0400 Subject: [PATCH] Min shader option. --- Object3D.java | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Object3D.java b/Object3D.java index b4b1eb5..c74c81c 100644 --- a/Object3D.java +++ b/Object3D.java @@ -29,6 +29,9 @@ Object3D saveskeleton; // + String skyboxname; + String skyboxext; + byte[] versions[]; int versionindex = -1; @@ -7490,7 +7493,7 @@ hitSomething = hitScale; double scale = 0.005f * clickInfo.camera.Distance(); - double hScale = (double) (clickInfo.x /*- centerPt.x*/) / 32; + double hScale = (double) (clickInfo.x - centerPt.x) / 32; double sign = 1; if (hScale < 0) { @@ -7502,7 +7505,7 @@ //hScale = 0.01; } - double vScale = (double) (clickInfo.y /*- centerPt.y*/) / 32; + double vScale = (double) (clickInfo.y - centerPt.y) / 32; sign = 1; if (vScale < 0) { @@ -7717,7 +7720,7 @@ break; case hitScale: // scale - double hScale = (double) (clickInfo.x /*- centerPt.x*/) / 32; + double hScale = (double) (clickInfo.x - centerPt.x) / 32; double sign = 1; if (hScale < 0) { @@ -7729,7 +7732,7 @@ //hScale = 0.01; } - double vScale = (double) (clickInfo.y /*- centerPt.y*/) / 32; + double vScale = (double) (clickInfo.y - centerPt.y) / 32; sign = 1; if (vScale < 0) { -- Gitblit v1.6.2