From ec17af09a1ea0d37dc84b14150c946f29f806c90 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Sun, 21 Apr 2024 13:26:42 -0700 Subject: [PATCH] javadoc and comments --- build.gradle | 7 ++++--- .../jme3/bullet/collision/shapes/MeshCollisionShape.java | 2 +- src/test/java/TestBvh.java | 2 ++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index d19fd4bd..b2fe3d7a 100644 --- a/build.gradle +++ b/build.gradle @@ -226,9 +226,10 @@ model { linker.args 'ws2_32.lib' // for htons() if (isDebug) { - cppCompiler.args '/FS' // serialize PDB writes - cppCompiler.args '/MTd' // use LIBCMTD - cppCompiler.args '/Zi' // produce PDB file + cppCompiler.args '/FS' // to serialize PDB-file writes + cppCompiler.args '/MTd' // to use LIBCMTD + cppCompiler.args '/Zi' // to generate a PDB file containing debug info + //cppCompiler.args '/Z7' // to embed debug info in OBJ files linker.args '/DEBUG' if (buildable) { String pdbFile = 'build/libs/bulletjme/shared/' diff --git a/src/main/java/com/jme3/bullet/collision/shapes/MeshCollisionShape.java b/src/main/java/com/jme3/bullet/collision/shapes/MeshCollisionShape.java index e682532e..9d26a2cd 100644 --- a/src/main/java/com/jme3/bullet/collision/shapes/MeshCollisionShape.java +++ b/src/main/java/com/jme3/bullet/collision/shapes/MeshCollisionShape.java @@ -72,7 +72,7 @@ public class MeshCollisionShape extends CollisionShape { // fields /** - * if true, use quantized AABB compression (default=true) + * if true, use quantized AABB compression */ final private boolean useCompression; /** diff --git a/src/test/java/TestBvh.java b/src/test/java/TestBvh.java index 79d70429..928d1d1a 100644 --- a/src/test/java/TestBvh.java +++ b/src/test/java/TestBvh.java @@ -209,8 +209,10 @@ public void test020() { Platform platform = JmeSystem.getPlatform(); switch (platform) { case Linux64: + // TODO break; case MacOSX_ARM64: + // TODO break; case Windows64: Assert.assertEquals(dp ? 2528 : 2480, numBytes);