erikwatson / Bramble

A little JS game engine for jamming on prototypes.
MIT License
0 stars 1 forks source link

Vec2 - getOpposite shouldn't take an argument #48

Closed erikwatson closed 1 month ago

erikwatson commented 1 month ago

Currently the Vec2 has a getOpposite function that takes a Vec2 as an argument, this isn't used for anything. The function getOpposite should just return the opposite of it's existing value, not of any arbitrary Vec2 we have.

MohitKambli commented 1 month ago

Hello @erikwatson, Hope you're doing well. Could I possibly work on this issue?

Thanks and Regards, Mohit Kambli