A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West.
MIT License
6k
stars
374
forks
source link
Allow an external profiler to be installed dynamically #1164
I agree with your point about avoiding the dynamic overhead if it's not necessary, so I ended up adding a check for JPH_SHARED_LIBRARY. This may mean that JPH_SHARED_LIBRARY needs to be tested for in RegisterTypesInternal, but I wasn't sure. Happy to fix anything if necessary :)
I agree with your point about avoiding the dynamic overhead if it's not necessary, so I ended up adding a check for
JPH_SHARED_LIBRARY
. This may mean thatJPH_SHARED_LIBRARY
needs to be tested for inRegisterTypesInternal
, but I wasn't sure. Happy to fix anything if necessary :)