Skip to content

Incorrect conversion of worldToScreen #499

@jacobmattsson

Description

@jacobmattsson

The calculation of the screen Y-coordinate in View.worldToScreen seems to be incorrect:

y *= 1.0f - x

Instead of being based on the screen X-coordinate, the calculation of the screen Y-coordinate ought to be based on the viewport height.

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