|
@@ -16,7 +16,7 @@ For breaking API changes see [this document](https://github.com/jrouwe/JoltPhysi
|
|
|
|
|
|
#### HeightField Shape
|
|
|
|
|
|
-* 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.
|
|
|
+* Sped up deserialization of HeightFieldShape/MeshShape classes by optimizing reading a vector of data in StreamIn, by switching std::vector out for a custom Array class and by combining a number of allocations into one.
|
|
|
* 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.
|
|
|
|
|
@@ -26,6 +26,8 @@ For breaking API changes see [this document](https://github.com/jrouwe/JoltPhysi
|
|
|
|
|
|
#### Various
|
|
|
|
|
|
+* Replaced std::vector with a custom Array class. std::vector initializes memory to zero which causes an undesired performance overhead.
|
|
|
+* Added macro JPH_OBJECT_STREAM that controls if ObjectStream and serialized attributes are compiled into the library or not. This can reduce the size of the library if you're not using this feature.
|
|
|
* 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.
|