From 98ebde1cd84f205e41b0602364f3fce72c2b790f Mon Sep 17 00:00:00 2001 From: Ferdinand Date: Sat, 26 Sep 2020 23:51:21 +0200 Subject: [PATCH] Update CylinderWrapper.java --- src/net/fexcraft/app/fmt/wrappers/CylinderWrapper.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/net/fexcraft/app/fmt/wrappers/CylinderWrapper.java b/src/net/fexcraft/app/fmt/wrappers/CylinderWrapper.java index 7e565b30..424ddb8e 100644 --- a/src/net/fexcraft/app/fmt/wrappers/CylinderWrapper.java +++ b/src/net/fexcraft/app/fmt/wrappers/CylinderWrapper.java @@ -362,6 +362,12 @@ public boolean isFaceActive(Face other){ } } + public boolean anySidesOff(){ + boolean result = false; + for(boolean bool : bools) if(bool) result = true; + return result; + } + /*public Vec3f getTopOffForDir(float val){ Vec3f vec = new Vec3f(); switch(direction){