The bevy_render::camera::camera
module shares its name with its parent module
#17196
Labels
A-Rendering
Drawing game state to the screen
C-Code-Quality
A section of code that is hard to understand or change
D-Trivial
Nice and easy! A great choice to get started with Bevy
S-Needs-Design
This issue requires design work to think about how it would best be accomplished
While working on #17194, I came across
bevy_render::camera::camera
, which was lintingclippy::module_inception
.While I did put in a placeholder reason explaining the difference, I believe either
bevy_render::camera
orbevy_render::camera::camera
should be renamed, as the current naming is confusing.My suggestion would be to rename
bevy_render::camera
tobevy_render::viewport
, as it appears to contain viewport-related stuff as a whole; compared tobevy_render::camera::camera
which only relates to theCamera
component.The text was updated successfully, but these errors were encountered: