Przeglądaj źródła

Update release notes and API changes

Jorrit Rouwe 1 rok temu
rodzic
commit
0a93c3c312
2 zmienionych plików z 6 dodań i 0 usunięć
  1. 2 0
      Docs/APIChanges.md
  2. 4 0
      Docs/ReleaseNotes.md

+ 2 - 0
Docs/APIChanges.md

@@ -6,6 +6,8 @@ Changes that make some state saved through SaveBinaryState from a prior version
 
 ## Changes between v5.0.0 and latest
 
+* 20240504 - Replaced std::vector with a custom Array class. It can be turned off by enabling the JPH_USE_STD_VECTOR define (or the USE_STD_VECTOR cmake option). (bdc1695a643457db86b72119b1393ae69b9a182e)
+* 20240504 - Added a Reallocate function that needs to be implemented when you override the memory allocators and a reallocate function that you need to implement if you have a custom array allocator. The behavior is the same as the C realloc function. It is used to reallocate a block of memory for simple types instead of always going through a alloc, copy, free cycle. (bdc1695a643457db86b72119b1393ae69b9a182e)
 * 20240413 - *SBS* - Skinned constraints are now processed in parallel, this means that they are reordered when Optimize() is called (see SoftBodySharedSettings::OptimizationResults::mSkinnedRemap). This also caused a change to the binary serialization format of SoftBodySharedSettings. (744900a4becb4dc69ee2bd70d6b26ee46da3e64a)
 * 20240407 - *SBS* - The binary format of SoftBodySharedSettings changed due to an optimization pass. Also the results of the Optimize() call are no longer serialized when using an ObjectStream. Finally the Optimize() call will reorder the constraints (see SoftBodySharedSettings::OptimizationResults). (22739d900b4d92905ecccf2d81f18dece4a42595)
 

+ 4 - 0
Docs/ReleaseNotes.md

@@ -16,9 +16,13 @@ For breaking API changes see [this document](https://github.com/jrouwe/JoltPhysi
 
 #### Various
 
+* Sped up deserialization of HeightFieldShape/MeshShape classes by optimizing reading a vector of data in StreamIn and by switching std::vector out for a custom Array class.
 * Added HeightFieldShape::GetMinHeightValue/GetMaxHeightValue that can be used to know which range of heights are accepted by SetHeights.
+* Allowing negative stride when getting/setting height field shape heights or materials. This improves performance if your data happens to be layed out the wrong way around.
 * Added option to get a callback when a JobSystemThreadPool thread starts/stops. This allows you to e.g. set application specific thread locals.
+* Added cmake option USE_ASSERTS to turn on asserts in builds other than the Debug build.
 * Switch from using _DEBUG to NDEBUG to detect debug mode. NDEBUG is defined in the standard while _DEBUG is Visual Studio specific.
+* The OVERRIDE_CXX_FLAGS cmake flag will now also work for MSVC and allow you to specify your own CMAKE_CXX_FLAGS_DEBUG/CMAKE_CXX_FLAGS_RELEASE flags
 
 ### Bug fixes