Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector2 += typo #6

Open
vittorioromeo opened this issue May 7, 2014 · 2 comments
Open

Vector2 += typo #6

vittorioromeo opened this issue May 7, 2014 · 2 comments

Comments

@vittorioromeo
Copy link

Vector2& Vector2::operator+=(float amount) {
    x += amount;
    x += amount; // whoops.
    return *this;
}
@C0deH4cker
Copy link
Owner

Thanks for spotting this! This will be fixed in a major sweeping change making SGE more "C++ish" overall (probably will be pushed in the next day or two).

On May 7, 2014, at 2:27 AM, Vittorio Romeo notifications@github.com wrote:

Vector2& Vector2::operator+=(float amount) {
x += amount;
x += amount; // whoops.
return *this;
}

Reply to this email directly or view it on GitHub.

@C0deH4cker
Copy link
Owner

Apparently I closed this once I fixed it locally even though it never got pushed. Reopening as a reminder to finish my changes and push them.

@C0deH4cker C0deH4cker reopened this Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants