]> git.tdb.fi Git - libs/game.git/commit
Refactor layer and collision mask logic in PhysicsSystem
authorMikko Rasa <tdb@tdb.fi>
Tue, 22 Apr 2025 21:36:58 +0000 (00:36 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 22 Apr 2025 21:40:03 +0000 (00:40 +0300)
commit35bb88ba23b56844f4b097f2b9165d8d4ab60550
treefd57b0731f66eddcc83390576a476a42ec96aa36
parent0022731d1df2bf825bff9d4bbb0944532d68df3a
Refactor layer and collision mask logic in PhysicsSystem

Collisions between moving and incorporeal were not two-way, and the
chained ternary was a bit hard to read.
source/game/physicssystem.cpp