Skip to content

Implement a Vector2.from_polar class creation method #2139

Open
@bigwhoopgames

Description

@bigwhoopgames

Please implement the ability to create a Vector2 directly from polar coordinates.

Upstream pygame recently added this ability: https://www.pygame.org/docs/ref/math.html#pygame.math.Vector2.from_polar

Implementing this enhancement would allow for easier Vector creation without the need to create a Vector2 first then call its from_polar() method to set its parameters.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions