Releases: stephengold/jolt-jni
3.7.0
-
Bugfix: missing
TRACE_NEWinBodyInterface_getTransformedShape(issue #37) -
Added classes:
BatchBodyInterfaceRMat44ArrayShapeRefCArrayTransformedShapeArray
-
Added method
Mat44Array.length(). -
Added runtime checks to
Mat44Array. -
Updated the Jolt-Physics source and assets to sg260221 (=f8a329a).
3.6.0
-
Bugfixes:
- unsatisfied link for
Geometry.create(long) - logic error in the
Jolt.implementsDeterminismLog()method - premature garbage collection of wrapped streams
- unsatisfied link for
-
Added support for hair simulation.
-
Added support for offloading computation to GPUs.
-
Added Vulkan compute to Linux/Windows x86_64 platforms using v1.4.341.1 of the Vulkan SDK.
-
Added classes:
Batch(for debug rendering)ComputeQueueComputeQueueRefComputeQueueResultComputeSystemComputeSystemRefComputeSystemResultCustomLoader(for shaders)DrawSettings(for hair)ERenderStrandColorenumFloat4GradientHairHairMaterialHairSettingsHairSettingsRefHairShadersHairShadersRefHairSkinWeightLoader(for shaders)RStrandSStrandSStrandListSVertexSVertexList
-
Added interfaces:
ConstDrawSettingsConstFloat3ConstFloat4ConstGradientConstHairMaterialConstHairSettingsConstPhysicsSystemConstRStrandConstSStrandConstSVertex
-
Added public methods:
Body.getMotionPropertiesUnchecked()ConstFloat3.x()ConstFloat3.y()ConstFloat3.z()ConstIndexedTriangleNoMaterial.put()ConvexHullShapeSettings.addPoint()ConvexHullShapeSettings.copyPoint()ConvexHullShapeSettings.copyPoints()ConvexHullShapeSettings.setPoint()DebugRenderer.createTriangleBatch()Float3.set(FloatBuffer)Jolt.getAssertCallback()Jolt.installAssertCallback()Jolt.installCrashAssertCallback()Jolt.installIgnoreAssertCallback()Jolt.loadResourceAsBytes()Jolt.newDirectLongBuffer()Jolt.registerHair()ObjectStreamIn.sReadObject(StringStream, HairSettingsRef)Ragdoll.addLinearVelocity()(2 methods)RagdollRef.addLinearVelocity()(2 methods)StreamInWrapper.readBytes(Float3)StreamInWrapper.readIndexedTriangles()StreamInWrapper.readMatrices()StreamInWrapper.readSkinWeights()StreamInWrapper.readVec3()
-
Added public constructors:
Float3(FloatBuffer, int)Geometry(Batch, ConstAaBox)Vec3(FloatBuffer int)
-
Refined the return type of
Geometry.toRef(). -
Added
HairSettingssupport toObjectStreamIn.sReadObject(String, Ref),ObjectStreamOut.sWriteObject(String, EStreamType, ConstJoltPhysicsObject), andsWriteObject(StringStream, EStreamType, ConstJoltPhysicsObject). -
Added a runtime check for illegal state in
Body.setMotionType(). -
Updated the Jolt-Physics source and assets to sg260209 (=49f60cb).
-
Updated the OSHI library v6.9.3 .
3.5.2
3.5.1
- Bugfixes:
- race condition in
JoltPhysicsObject.startCleaner() Jolt.listClasses()depends on the local charset
- race condition in
- Altered the half-extent constraints for
BoxShapeandBoxShapeSettings. - Updated the Jolt-Physics source and assets to v5.5.0 (=23dadd0e).
- Updated the OSHI library to v6.9.2 .
3.5.0
-
Bugfixes:
-
Additions:
- alternate signature for
ConstBody.getShape() ConstCharacterBase.getShape()ConstMotorSettingsinterfaceConstVehicleConstraint.getWheel()ConstVehicleConstraint.getWheelPositionAndRotation()
- alternate signature for
-
Generalized 4
MeshShapeSettingsconstructors. -
Handled more cases in
ObjectStreamIn.sReadObject(). -
Publicize the 2-argument constructor for
Body. -
Updated the Jolt-Physics source and assets to sg251012 (=1e38fc6).
-
Updated the Android NDK to r29.
3.4.0
With this release, Jolt JNI began creating an internal counted reference for/to every refcounted object.
Every RefTarget is now a co-owner of its assigned native object.
This prevents such assigned objects being unintentionally freed and greatly simplifies memory management.
-
Bugfixes:
- logic errors rendering
Support.getSupportBulk()unusable - memory leaks in the copy constructors of
CollideShapeSettingsandMotorSettings IndexedTriangleList.get()returns an object without ownership infoShape.getMaterial()returns a contained object
- logic errors rendering
-
Added methods:
BodyInterface.destroyBodies()and.removeBodies()(see PR #27)Jolt.countDeletes()Jolt.countNews()Jolt.installCerrTraceCallback()Jolt.installJavaTraceCallback()SoftBodyCreationSettings.getFacesDoubleSided()SoftBodyCreationSettings.setFacesDoubleSided()Vec3Arg.copyTo(FloatBuffer, int)
-
Updated the Jolt-Physics source and assets to v5.4.0 (=sg250927 / 036ea7b1)
3.3.0
- Bugfixes:
- 3 copy-paste errors in FilteredContactListener.cpp (issue #26)
FilteredContactListenercontact removals ignore body-filter settingsFilteredContactListenerignores its "enable removed" setting- heap corruption after invoking
ConvexShape.getSupportFunction() UnsatisfiedLinkErrorinCharacterBaseSettings
- Added the
ConstConvexShapeinterface. - Added the
getRefCount()method to theConstCharacterBaseinterface and theConstCharacterBaseSettingsinterface. - Added more
setLinearVelocity()signatures for physics characters.
3.2.0
- Added 3 classes for efficient/flexible contact listening:
ContactListenerListEFilterModeFilteredContactListener
- Generalized 2 body-lock multi constructors to solve issue #25.
- Added 4 methods to the
BodyInterfaceclass, for avoiding garbage:getAngularVelocity(int, Vec3)getLinearVelocity(int, Vec3)getPosition(int, RVec3)getRotation(int, Quat)
- Added
getRefCount()to theConstShapeinterface. - Generalized 2
PhysicsSystemsetters to acceptnullarguments. - Updated the Jolt-Physics sourcecode and assets to e594aad (=sg250918).
- Updated the OSHI library to v6.9.0 .
3.1.0
- Allow use of both
close()and a cleaner thread in a single app. - Added interfaces:
ConstVehicleCollisionTesterConstVehicleControllerConstWheel
- Added public constructors and methods to the libraries.
- Added run-time checks for the maximum number of jobs.
3.0.1
Bugfix: many CharacterRefC and CharacterVirtualRefC methods crash the JVM