Skip to content

Use a point object instead of x, y arguments #4

Description

@osresearch

Since the _local_to_world() and _world_to_local() return tuples, what do you think about having a class that implements points instead of passing x, y arguments? They could also carry a flag for world or local coordinates, allowing the functions to take either pre-translated or untranslated coords.

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