Re:Flags Are a Code Smell (2014)
by dvt on Saturday May 21, 2022 @08:38PM
(#31463722)
> disabled, yet visible object
These are bad flags and should not be mutually exclusive. "Disabled" usually applies to the physics system, and "visible" applies to the rendering system. You can certainly have something that renders but does not interact with the physics system (e.g. particle effects).
It's like throwing out all operator overloading because somebody decided to make "+" subtract instead of add.
These are bad flags and should not be mutually exclusive. "Disabled" usually applies to the physics system, and "visible" applies to the rendering system. You can certainly have something that renders but does not interact with the physics system (e.g. particle effects).
It's like throwing out all operator overloading because somebody decided to make "+" subtract instead of add.