Skip to content

Check whether an object is outside the camera view #19

Description

@relh

I want to check an object’s bounds before deciding to draw it. A game could skip trees and buildings that are completely outside the camera view.

Anything partly visible should still be eligible to draw, so objects do not disappear at the screen edges.

Proposed in PR #7.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions