Skip to content

Conversation

@eliaskanelis
Copy link

Hello,

Since I appreciate your Youtube series and really like to make games I wanted to contribute to your game engine. I found 4 bugs. Also this is my first pull request ever.

The "Vector2D& operator+(Vector2D& v1, const Vector2D& v2)"
should not modify v1, but should only return the result of v1+v2
Similar for Vector2D operator-, orerator* and operator/

The Vector2D operator-=, orerator*= and operator/= are correct.

Thanks again

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

Successfully merging this pull request may close these issues.

1 participant