Skip to content

The bevy_render::camera::camera module shares its name with its parent module #17196

Open
@LikeLakers2

Description

@LikeLakers2

While working on #17194, I came across bevy_render::camera::camera, which was linting clippy::module_inception.

While I did put in a placeholder reason explaining the difference, I believe either bevy_render::camera or bevy_render::camera::camera should be renamed, as the current naming is confusing.

My suggestion would be to rename bevy_render::camera to bevy_render::viewport, as it appears to contain viewport-related stuff as a whole; compared to bevy_render::camera::camera which only relates to the Camera component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-Code-QualityA section of code that is hard to understand or changeD-TrivialNice and easy! A great choice to get started with BevyS-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions