Skip to content

Add math vector methods to FlxPoint (or create FlxVector) #188

Open
@Dovyski

Description

@Dovyski

Currently FlxPoint has one or two methods that can be used in math vector calculations. It's pretty hard to implement vector dependent functionalities using Flixel, such as steering behaviors. Useful methods such as rotate(), normalize(), perp(), dot(), cross(), etc are missing.

It would be great to have them. If they "clutter" the API, the FlxVector class could be created.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions