schteppe / p2.js

JavaScript 2D physics library
Other
2.63k stars 330 forks source link

Why is localAxis passed into projectOntoLocalAxis only to be overwritten by tmpVec1? #361

Open JSideris opened 3 years ago

JSideris commented 3 years ago

https://github.com/schteppe/p2.js/blob/2beb2750f42d29014e289cb803b7269d5b0edaad/src/shapes/Convex.js#L122

What is the intended behavior of this?