diff --git a/MinieExamples/src/main/java/com/github/stephengold/shapes/custom/CustomBox.java b/MinieExamples/src/main/java/com/github/stephengold/shapes/custom/CustomBox.java index adc0c38a7..2721c4a5c 100644 --- a/MinieExamples/src/main/java/com/github/stephengold/shapes/custom/CustomBox.java +++ b/MinieExamples/src/main/java/com/github/stephengold/shapes/custom/CustomBox.java @@ -152,6 +152,7 @@ public Vector3f getHalfExtents(Vector3f storeResult) { } else { result = storeResult.set(unscaledHe); } + return result; } // ************************************************************************* diff --git a/MinieExamples/src/main/java/com/github/stephengold/shapes/custom/CustomCylinder.java b/MinieExamples/src/main/java/com/github/stephengold/shapes/custom/CustomCylinder.java index 04d1a1d79..9e9af86cb 100644 --- a/MinieExamples/src/main/java/com/github/stephengold/shapes/custom/CustomCylinder.java +++ b/MinieExamples/src/main/java/com/github/stephengold/shapes/custom/CustomCylinder.java @@ -39,8 +39,8 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE import jme3utilities.math.MyVolume; /** - * A collision shape for a solid right circular cylinder with uniform density. - * By convention, the local Y axis is the height axis. + * A collision shape for a right circular cylinder with uniform density. By + * convention, the local Y axis is the height axis. *
* {@code CylinderCollisionShape} is more flexible and probably more efficient. *
diff --git a/MinieLibrary/src/main/java/com/jme3/bullet/collision/shapes/MinkowskiSum.java b/MinieLibrary/src/main/java/com/jme3/bullet/collision/shapes/MinkowskiSum.java index 68e49c647..93b882db8 100644 --- a/MinieLibrary/src/main/java/com/jme3/bullet/collision/shapes/MinkowskiSum.java +++ b/MinieLibrary/src/main/java/com/jme3/bullet/collision/shapes/MinkowskiSum.java @@ -155,7 +155,7 @@ public void cloneFields(Cloner cloner, Object original) { } /** - * Return the collision margin of the shape. + * Return the collision margin of this shape. * * @return the margin thickness (in physics-space units, ≥0) */