Releases: stephengold/jolt-jni
0.9.5
-
Bugfix: heap corruption in
ConvexHullShapeSettings.createSettings() -
Bugfix:
UnsatisfiedLinkErrorinVehicleConstraintSettingson Windows -
Added support for 4 Android platforms.
-
Added classes and interfaces to the libraries:
RandomNumberEngineSkeletonMapperSkeletonMapperRefVehicleAntiRollBarVehicleCollisonTesterCastSphereVehicleCollisonTesterCastSphereRefVehicleEngineVehicleTransmission
-
Added many public methods to the libraries.
0.9.4
-
API changes:
-
Renamed 25 public static methods in the
Opclass. -
Split off the
Stdclass from theJoltclass. -
Split off the "com.stephengold.joltjni.std" package.
-
Renamed the
UniformRealDistributionclass. -
Renamed the
Vec3.add()method. -
Deleted 3 classes from the libraries:
TrackedVehicleControllerRefVehicleControllerRefWheeledVehicleControllerRef
-
Renamed the
Ragdoll.getBodyIDs()method. -
Moved the
cDefaultConvexRadiusconstant to theJoltclass. -
Altered the value returned by the
AaBox.biggest()method. -
Altered the semantics of the
BodyIdVector.get()method. -
Altered the signature of the
BodyIdArray.set()method. -
Altered the signature of the
SkeletonPose.setSkeleton()method. -
Added an argument to the
Part.getToParent()method. -
Altered the return type of the
BodyIdArray.get()method. -
Altered the default values returned by the
getMaxHeightValue()and
getMinHeightValue()methods in theHeightfiedShapeSettingsclass. -
Deleted a redundant
addShape()method from
theCompoundShapeSettingsclass. -
Redesigned the
CharacterVsCharacterCollisionSimpleclass. -
Depublicized the
Wheel.newWheel()method. -
Bug fixes:
-
crash due to use-after-free when a
PhysicsSystemgets cleaned
before a character orRagdoll -
premature cleaning of various physics objects
-
crash due to uninitialized data in
ConvexHullBuilder.initialize() -
assertion error while instantiating a
PhysicsScene -
lossy casts in 4
PlaneShapegetters -
SkeletonPose.getJointMatrices()returns an invalid pointer -
methods that should return
nullbut are unabled to:RagdollSettings.createRagdoll()RagdollSettingsRef.createRagdoll()Contact.getCharacterB()
-
memory leaks in
ObjectStreamIn -
Added classes and enums to the libraries:
AddConvexRadiusSupportAdditionalConstraintChbEdgeChbFaceConvexHullBuilderEConstraintOverrideEResultEStreamTypeESupportModeHeightFieldShapeConstantsJointMat44ArrayObjectStreamOutPhysicsMaterialSimplePhysicsSceneResultRagdollResultShapeListSphereStatsStreamInWrapperStringStreamSupportSupportBuffer
-
Added many public constants and public methods to the libraries.
-
Added chaining capability to 7 methods.
-
Updated the Jolt source code and assets to ba8beb8 (=sg250106).
0.9.3
-
API changes:
- Redesigned the
BroadPhaseclass. - Changed the semantics of
BroadPhaseCastResult.getBodyId()andConstBodyCreationSettings.getMassPropertiesOverride(). - Replaced the
va()method in theConstJoltPhysicsObjectinterface with non-finaltargetVa(). - Deleted the
getUserData()andsetUserData()methods from theConstraintclass. - Finalized the
GroupFilterRefandWheelSettingsTvRefclasses.
- Redesigned the
-
Bug fixes:
- dynamic linkage failures and unimplemented methods
Vec3.add()always returns(0,0,0)- many premature garbage collection bugs
- some ref targets instantiated as owners
- native assert while creating an empty
ConvexHullShapeSettings - crash when a collision group has a
nullfilter - assertion failure while instantiating
MotorcycleControllerSettings - assertion failures in the
JoltPhysicsObjectconstructor andsetVirtualAddress() - index out of range in
ConstraintVsCOMChangeTest.Initialize() Constraint.newConstraint()returns the wrong subclass- unable to cast
VehicleController ConstraintSettings.getControllerType()can return wrong valuesIllegalStateExceptioninMotorcycleTest
-
Added many public methods to the library.
-
Added chaining capability to many methods.
-
Implemented Perlin noise.
-
Added the
ConstTwoBodyConstraintinterface to the library. -
Added classes to the library:
AllHitCollideShapeCollectorBodyIdArrayClosestPointCollisionDispatchPathConstraintPathPathConstraintPathRefPathConstraintPathHermiteSubShapeIdCreatorTwoBodyConstraintRefTwoBodyConstraintSettingsRefVehicleConstraintRef
-
Split the "testjoltjni.app.samples" package into many packages.
-
Updated the Jolt source code and assets to 2d7176a (=sg241107).
0.9.1
- Finalized the
ObjectStreamInclass. - Bugfix: various methods lack a native implementation
- Bugfix: some native objects could be freed more than once
- Bugfix: some
NonCopyablenative objects are never freed - Added the
TempAllocatorImplWithMallocFeedbackclass (issue #3) - Added many public methods to the library.
- Futher reorganization of the "glue" source files.
0.9.0
-
Bugfix:
Body.setCollisionGroup()lacks a native implementation -
Bugfix: wrong argument type in implementation of
RMat44.setElement() -
Bugfix: 2 missing
TRACE_NEW()macros -
Renamed the
CollisionGroup.setSubGroupID()method for style conformance. -
Removed the
PhysicsSettings.getSystem()method -
Added classes to the library:
ClosestHitCastRayCollectorClosestHitCastShapeCollectorEdgeFaceIgnoreMultipleBodiesFilterMotorcycleControllerMotorcycleControllerSettingsMutexPathConstraintPathConstraintSettingsPulleyConstraintPulleyConstraintSettingsRackAndPinionConstraintRackAndPinionConstraintSettingsSoftBodyCreationSettingsSoftBodySharedSettingsSoftBodySharedSettingsRefSwingTwistConstraintSwingTwistConstraintSettingsTrackedVehicleControllerTrackedVehicleControllerRefTrackedVehicleControllerSettingsWheelSettingsTvWheelSettingsTvRefWheelTvVec4VehicleCollisionTesterCastCylinderVehicleCollisionTesterCastCylinderRefVehicleDifferentialSettingsVehicleEngineSettingsVehicleTrackSettingsVehicleTransmissionSettingsVertexVertexAttributesVolume
-
Added 3 enums to the library:
EBendTypeELraTypeETransmissionMode
-
Added 4 interfaces to the library:
ConstVertexAttributesConstSoftBodySharedSettingsConstSoftBodyCreationSettingsTriFunctionVec4Arg
-
Added many public methods to the library.
0.8.0
-
Moved all methods equivalent to overloaded operators to a new package.
-
Renamed
DrawSettingsto distinguish it fromSkeletonPose::DrawSettings. -
Bugfix:
CharacterVirtual.toRef()returns the wrong kind of reference -
Bugfix:
StateRecorderread methods lack the old values -
Added classes to the library:
AllHitRayCastBodyCollectorBodyManagerBodyVectorBroadPhaseBroadPhaseBruteForceBroadPhaseQuadTreeCharacterContactListenerCharacterContactSettingsCharacterVsCharacterCollisionCharacterVsCharacterCollisionSimpleCollisionGroupColorCustomCharacterContactListenerCustomPhysicsStepListenerDefaultBroadPhaseLayerFilterDefaultObjectLayerFilterDefaultRandomEngineEmptyShapeEmptyShapeSettingsExtendedUpdateSettingsGroupFilterGroupFilterTableGroupFilterTableRefPhysicsMaterialListPhysicsStepListenerPhysicsStepListenerContextSkeletonPoseDrawSettingsStreamInSubShapeTriangleUniformIntDistributionVehicleCollisionTesterVehicleCollisionTesterRayVehicleCollisionTesterRayRefVehicleConstraintVehicleConstraintSettingsVehicleControllerVehicleControllerSettingsVehicleControllerSettingsRefWheelWheeledVehicleControllerWheeledVehicleControllerRefWheeledVehicleControllerSettingsWheelSettingsWheelSettingsWvWheelSettingsWvRefWheelWv
-
Added 3 enums to the library:
ECastShadowECullModeEDrawMode
-
Added many public methods to the library.
-
Updated the Jolt source code and assets to fed2b6c (=sg240929).
0.7.0
-
Moved the
RefTargetinterface to a new package. -
Package-protected many methods and no-arg constructors.
-
Bugfix:
_DEBUGis #defined in Release builds. -
Bugfix: initial user data of a shape isn't always zero.
-
Added classes to the library:
ArrayBodyFilterBodyLockInterfaceNoLockBodyLockReadBodyLockWriteBroadPhaseCastResultBroadPhaseLayerFilterBroadPhaseQueryCastRayCollectorCastShapeCollectorCollidePointCollectorCollidePointResultCollideSettingsBaseCollideShapeBodyCollectorCollideShapeCollectorCollideShapeSettingsCustomCastShapeCollectorCustomCollidePointCollectorCustomCollideShapeBodyCollectorCustomCollideShapeCollectorCustomRayCastBodyCollectorCustomRayCastCollectorDebugRendererDebugRendererRecorderDrawSettingsEStateRecorderStateJointStateMt19937NarrowPhaseQueryNarrowPhaseStatObjectLayerFilterObjectStreamInOffsetCenterOfMassShapeSettingsOffsetCenterOfMassShapePartPhysicsScenePhysicsSceneRefRagdollRagdollRefRagdollSettingsRagdollSettingsRefRayCastRayCastBodyCollectorRayCastResultRayCastSettingsRefRRayCastRShapeCastShapeCastResultShapeCastSettingsShapeFilterSkeletonSkeletonAnimationSkeletonAnimationRefSkeletonPoseSkeletonRefSpecifiedBroadPhaseLayerFilterSpecifiedObjectLayerFilterStreamOutStreamOutWrapperStateRecorderStateRecorderFilterStateRecorderImplTaperedCapsuleShapeTaperedCapsuleShapeSettingsTaperedCylinderShapeTaperedCylinderShapeSettingsUniformRealDistribution
-
Added 2 enums to the library:
EActiveEdgeModeECollectFacesMode
-
Added many public methods to the library.
-
Added package-level javadoc.
-
Merged
Ref<>implementations into correspondingRefTargetsource files. -
Updated Jolt source code and assets to 5da6ac8 (=sg240907).
0.6.0
-
Renamed the
RefShapeclass toShapeRef. -
Bugfix: JVM crashes when
OnBodyDeactivated()invoked by a native thread. -
Bugfix: work around
JobSystemSingleThreadeddeadlocks on Windows. -
Added classes to the library:
BodyIdVectorCharacterCharacterBaseCharacterBaseSettingsCharacterRefCharacterSettingsCharacterSettingsRefCharacterVirtualCharacterVirtualRefCharacterVirtualSettingsCharacterVirtualSettingsRefConeConstraintConeConstraintSettingsCollideShapeResultConstraintConstraintsConstraintRefConstraintSettingsConstraintSettingsRefContactContactListContactManifoldContactSettingsDistanceConstraintDistanceConstraintSettingsFixedConstraintFixedConstraintSettingsGearConstraintGearConstraintSettingsHingeConstraintHingeConstraintSettingsMotorSettingsPhysicsMaterialPhysicsMaterialRefPlanePlaneShapePlaneShapeSettingsPointConstraintPointConstraintSettingsRMat44SixDofConstraintSixDofConstraintSettingsSliderConstraintSliderConstraintSettingsSpringSettingsSubShapeIdSubShapeIdPairTwoBodyConstraintTwoBodyConstraintSettings
-
Added enums to the library:
EAxisEBackFaceModeEConstraintSubTypeEConstraintSpaceEConstraintTypeEGroundStateEMotorStateESpringModeESwingTypeValidateResult
-
Added interfaces to the library:
ConstBodyConstCharacterConstCharacterBaseConstCharacterBaseSettingsConstCharacterSettingsConstCharacterVirtualConstCharacterVirtualSettingsConstConstraintConstConstraintSettingsConstContactConstPhysicsMaterialConstPlaneConstRMat44
-
Added many public methods to the library.
-
Updated Jolt source code to 8feb90c (=sg240827).
-
Updated jSnapLoader to v1.0.0-stable .
-
Reorganized the "glue" source files into multiple directories.
0.5.0
- Split off the Jolt Physics enums into a "joltjni.enumerate" package.
- Use GCC v9 when compiling for the Linux_ARM32hf platform.
- Added the
RefShapeclass to the library. - Added a no-argument constructor for
MutableCompoundShape. - Added 2 public methods to the library:
CompoundShape.getNumSubShapes()Shape.toRef()
0.4.1
- Split off the read-only interfaces into a "joltjni.readonly" package.
- Added support for 2 Linux-on-ARM platforms.
- Began using jSnapLoader to select native libraries for testing.
- Purged JMonkeyEngine code from the project and simplified the license.