mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 12:20:41 +00:00
5261f0c5cf
addCollisionObject is called from the main thread and removeCollisionObject is usually called from the main thread and rarely from one of the physics worker threads. This usually happens on cell unloading when object is already removed from the scene but there is active simulation for it. Which possible because it's a shared pointer. There is getUserPointer function which only reads from the container but it's called only when there is no active simulation so no lock is required. |
||
---|---|---|
.. | ||
actor.cpp | ||
actor.hpp | ||
actorconvexcallback.cpp | ||
actorconvexcallback.hpp | ||
closestnotmerayresultcallback.cpp | ||
closestnotmerayresultcallback.hpp | ||
collisiontype.hpp | ||
constants.hpp | ||
contacttestresultcallback.cpp | ||
contacttestresultcallback.hpp | ||
contacttestwrapper.cpp | ||
contacttestwrapper.h | ||
hasspherecollisioncallback.hpp | ||
heightfield.cpp | ||
heightfield.hpp | ||
movementsolver.cpp | ||
movementsolver.hpp | ||
mtphysics.cpp | ||
mtphysics.hpp | ||
object.cpp | ||
object.hpp | ||
physicssystem.cpp | ||
physicssystem.hpp | ||
projectile.cpp | ||
projectile.hpp | ||
projectileconvexcallback.cpp | ||
projectileconvexcallback.hpp | ||
ptrholder.hpp | ||
raycasting.hpp | ||
stepper.cpp | ||
stepper.hpp | ||
trace.cpp | ||
trace.h |