Skip to content

Bump bevy 0.18.1 → 0.19: upstream removes the near_clip_plane footgun (rl#196 class) #212

Description

@bddap-bot

Bevy 0.19.0 (released) removes the near/near_clip_plane footgun that caused #196: adjust_perspective_matrix_for_clip_plane treats any straight-ahead plane (0,0,-1,*) as non-oblique regardless of distance, so a custom near can no longer be silently overridden by the stale default plane.

On the bump, prune together (noted in fp_perspective(), net/src/render/scene.rs):

  • the near_clip_plane: Vec4::new(0.0, 0.0, -1.0, -near) line (dead weight on 0.19)
  • the "Bevy 0.18" version-specific doc comments there and on the regression test

The regression test fp_camera_effective_clip_is_the_scaled_near passes on both versions, so it rides through the bump as the guard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedepic-advance paused (checker SKIPs)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions