Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
World|Map: Allow linking mobjs to a sector of a degenerate BSP leaf
There appears to be some confusion as to what it means for a mobj to be "sector linked". Specifically, whether a mobj in a sector list is "within" the bounds of that sector according to line geometry of the map, or, if only in a BSP leaf attributed to that sector. Essentially DOOM confuses the definition of a subsector, exchanging "BSP half-space" with "convex subspace" depending on the context. The name "subsector" probably didn't help to resolve it either. For compatibility purposes, when linking mobjs to sectors we should apply the BSP half-space definition for now. Todo for later: Most likely there are more mixups and/or incorrect assumptions in any code which uses the sector mobj lists...
- Loading branch information
1 parent
78f135d
commit 607d7a1
Showing
4 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters