What problem does this solve or what need does it fill?
Enforce consistency across the code-base, make the code easier to read.
What solution would you like?
Enforce the usage of some shorthand functions that Bevy provides.
Examples:
Val::Px(3.0) -> px(3)
Val::Percent(100.0) -> percent(100)
..Default::default() -> ..default()
What alternative(s) have you considered?
--
Additional context
This is also inconsistent in the Bevy repository, see bevyengine/bevy#22753
What problem does this solve or what need does it fill?
Enforce consistency across the code-base, make the code easier to read.
What solution would you like?
Enforce the usage of some shorthand functions that Bevy provides.
Examples:
Val::Px(3.0)->px(3)Val::Percent(100.0)->percent(100)..Default::default()->..default()What alternative(s) have you considered?
--
Additional context
This is also inconsistent in the Bevy repository, see bevyengine/bevy#22753