erikwatson / Bramble

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

Fix #48 : Vec2 - getOpposite shouldn't take an argument #49

Closed MohitKambli closed 1 month ago

MohitKambli commented 1 month ago

Hello @erikwatson, Hope you're doing well. As it has been requested in the issue #48, I have eliminated the input parameter of getOpposite function in the vec2.ts file. Additionally, I have simply returned the opposite of its existing value. If at all I misunderstood something or implemented anything incorrectly, then do let me know. Sincere apologies for my mistakes if you find any.

Thanks and Regards, Mohit Kambli