diff --git a/appveyor.yml b/appveyor.yml index 1de88b9e..95350673 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ --- # configure deployment by AppVeyor.com -version: 16.1.0 +version: 16.2.0 image: Visual Studio 2019 @@ -11,15 +11,15 @@ build_script: - cmd: gradlew.bat build --console=plain --no-daemon artifacts: - - path: dist/Libbulletjme-16.1.0.jar + - path: dist/Libbulletjme-16.2.0.jar name: classJar - - path: dist/Libbulletjme-16.1.0-javadoc.jar + - path: dist/Libbulletjme-16.2.0-javadoc.jar name: javadocJar - - path: dist/Libbulletjme-16.1.0-sources.jar + - path: dist/Libbulletjme-16.2.0-sources.jar name: sourcesJar - - path: dist/Libbulletjme-16.1.0.pom + - path: dist/Libbulletjme-16.2.0.pom name: pom - - path: dist/Libbulletjme-16.1.0.module + - path: dist/Libbulletjme-16.2.0.module name: module - path: dist/Windows32DebugDp_bulletjme.dll name: dll32DD diff --git a/build.gradle b/build.gradle index adae3448..b08fcf24 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ plugins { ext { group = 'com.github.stephengold' artifact = 'Libbulletjme' - version = '16.1.0' + version = '16.2.0' baseName = "${artifact}-${version}" websiteUrl = 'https://github.com/stephengold/Libbulletjme' } diff --git a/current.gradle b/current.gradle index 738fa0b8..ce73009f 100644 --- a/current.gradle +++ b/current.gradle @@ -9,7 +9,7 @@ plugins { ext { group = 'com.github.stephengold' artifact = 'Libbulletjme' - version = '16.1.0' + version = '16.2.0' baseName = "${artifact}-${version}" websiteUrl = 'https://github.com/stephengold/Libbulletjme' } diff --git a/release-notes.md b/release-notes.md index d191973f..46f115b8 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,5 +1,69 @@ # Release log for the Libbulletjme project +## Version 16.2.0 released on 21 September 2022 + ++ Bugfix: assertion failure in `VHACDHull` after a failed decomposition ++ Added the `pairTest()` method to the `CollisionSpace` class. ++ Implemented collision-shape splitting: + + Added `split()` methods to 7 classes: + + `ChildCollisionShape` + + `CompoundCollisionShape` + + `CompoundMesh` + + `GImpactCollisionShape` + + `HullCollisionShape` + + `IndexedMesh` + + `MeshCollisionShape` + + Added the `canSplit() and `toSplittableShape()` methods + to the `CollisionShape` class. + + Added some constructors to 5 classes: + + `CompoundMesh` + + `GImpactCollisionShape` + + `HullCollisionShape` + + `IndexedMesh` + + `MeshCollisionShape` + + Added the `toHullShape()` method to the `ConvexShape` class. + ++ Implemented center/volume estimation for collision shapes: + + Added the `aabbCenter()` and `scaledVolume() + methods to the `CollisionShape` class. + + Added the `maxMin()` method to the `CompoundMesh` class. + + Added `volumeConvex()` methods to the `DebugMeshCallback` + and `DebugShapeFactory` classes. + + Added the `copyTriangle()` and `maxMin()` methods + to the `IndexedMesh` class. + ++ Added math classes: + + `DistinctVectorValues` + + `MyVolume` + + `RectangularSolid` + + `Triangle` + + `VectorSetUsingBuffer` ++ Added math methods: + + `MyBuffer.convariance()` + + `MyBuffer.maxMin()` + + `MyBuffer.mean()` + + `MyMath.cube()` + + `MyMath.mid(float, float, float)` + + `MyMath.min(float...)` + + `MyMath.modulo(int, int)` + + `MyMath.transformInverse()` for a `Triangle` + + the normal-and-displacement constructor for a `Plane` + + `Plane.pseudoDistance()` + + `Vector3f.crossLocal()` + + `Vector3f.distance()` + + `Vector3f.mult(float, Vector3f)` + + `Vector3f.mult(Vector3f)` ++ Added the `FastMath.QUARTER_PI` constant. ++ Added the `VectorSet` interface. + ++ Added supplemental V-HACD methods: + + `VHACDParameters.toMap()` + + `Vhacd4Parameters.nextFillMode()` + + `Vhacd4Parameters.toMap()` ++ Updated the Bullet sourcecode to match SHA1 ID=dad061fc1 + of the bullet3 project. ++ Upgraded Node.js to v16.17.0 + ## Version 16.1.0 released on 12 August 2022 + Bugfix: I/O resources not safely closed in `VHACDParameters`. diff --git a/src/main/java/com/jme3/bullet/util/NativeLibrary.java b/src/main/java/com/jme3/bullet/util/NativeLibrary.java index d1142e71..80bfc684 100644 --- a/src/main/java/com/jme3/bullet/util/NativeLibrary.java +++ b/src/main/java/com/jme3/bullet/util/NativeLibrary.java @@ -52,7 +52,7 @@ final public class NativeLibrary { /** * expected version of the native library */ - final public static String expectedVersion = "16.1.0"; + final public static String expectedVersion = "16.2.0"; // ************************************************************************* // constructors diff --git a/src/main/native/glue/jmeClasses.h b/src/main/native/glue/jmeClasses.h index 92c8b99b..aa64164e 100644 --- a/src/main/native/glue/jmeClasses.h +++ b/src/main/native/glue/jmeClasses.h @@ -38,7 +38,7 @@ #include -#define LIBBULLETJME_VERSION "16.1.0" +#define LIBBULLETJME_VERSION "16.2.0" #ifdef _DEBUG #define NULL_CHK(pEnv, pointer, message, retval) \