Consider replacing Default
implementations with a Black
trait or similar
#324
Labels
definitely breaking
Issues that are known before-hand to be a breaking change
Milestone
Description
Replace the current
Default
implementations with more "regular" versions that just sets the component values to their defaults. There should rather be a trait, such asBlack
(andWhite
), or constants for the current use, to make the intent more explicit.Motivation
The current
Default
implementations require more than justDefault
from the component values and the semantics get a bit weird with struct-of-arrays values. Separating the "default value" and "black color" concepts would make this less ambiguous.The text was updated successfully, but these errors were encountered: