Skip to content

Optimization Suggestion: Update Camera and Renderer Aspect Ratio Directly in Resize Event Handler to Improve Performance #1

@AbhinavHaridas

Description

@AbhinavHaridas

In the resize event handler, you are reloading the entire page when the window is resized. This approach may cause unnecessary resource reloads and reinitialization. Instead, consider updating the camera and renderer aspect ratio directly without reloading the whole page.

In Day 1 /skybox, on line 40

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions