NcStudios / NcEngine

NcEngine: 3D game engine written in modern C++ and Vulkan
https://ncstudios.itch.io/
MIT License
36 stars 2 forks source link

Combine physics tasks #650

Closed McCallisterRomer closed 1 month ago

McCallisterRomer commented 1 month ago

resolves #416

Combining the physics tasks that apply gravity and update inertia since they're both iterate over all PhysicsBody components. There isn't a race condition, but there could theoretically be contention over cache lines, and I see no real reason to have them as separate tasks.