Skip to content

Avoid instantiation with assignment operator #41

@elect86

Description

@elect86

Hi,

Let me first say this is an awesome project!

Second, I'd like to know if it could be possible to change the assignment operator behaviour to avoid a new instantiation whenever the object already exists, for example:

Vec2 a = new Vec2()
a = b + c * 2;

here the assignment operator may point a set method instead of valueOf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions