diff --git a/README.md b/README.md index 9226361c6c..f7670e888e 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ The engine is used by several commercial game studios and computer-science cours - [Boxer (on Google Play)](https://play.google.com/store/apps/details?id=com.tharg.boxer) - [Depthris (on Itch)](https://codewalker.itch.io/depthris) - [Stranded (on Itch)](https://tgiant.itch.io/stranded) + - [The Afflicted Forests (Coming Soon to Steam)](https://www.indiedb.com/games/the-afflicted-forests) ## Getting Started diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b1624c473c..c7d437bbb4 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/jme3-core/src/main/java/com/jme3/environment/util/BoundingSphereDebug.java b/jme3-core/src/main/java/com/jme3/environment/util/BoundingSphereDebug.java index c5510dedde..622164e4a1 100644 --- a/jme3-core/src/main/java/com/jme3/environment/util/BoundingSphereDebug.java +++ b/jme3-core/src/main/java/com/jme3/environment/util/BoundingSphereDebug.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2021 jMonkeyEngine + * Copyright (c) 2009-2024 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -56,14 +56,6 @@ public class BoundingSphereDebug extends Mesh { protected int radialSamples = 32; protected boolean useEvenSlices; protected boolean interior; - /** - * the distance from the center point each point falls on - */ - public float radius; - - public float getRadius() { - return radius; - } public BoundingSphereDebug() { setGeometryData(); @@ -151,27 +143,23 @@ private void setIndexData() { if (segDone == radialSamples || segDone == radialSamples * 2) { idx++; } - } - } - /** * Convenience factory method that creates a debug bounding-sphere geometry + * * @param assetManager the assetManager * @return the bounding sphere debug geometry. */ public static Geometry createDebugSphere(AssetManager assetManager) { - BoundingSphereDebug b = new BoundingSphereDebug(); - Geometry geom = new Geometry("BoundingDebug", b); - + BoundingSphereDebug mesh = new BoundingSphereDebug(); + Geometry geom = new Geometry("BoundingDebug", mesh); Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); mat.setBoolean("VertexColor", true); mat.getAdditionalRenderState().setWireframe(true); - geom.setMaterial(mat); return geom; - } + }