Closed mikerreed closed 2 years ago
This is a big diff -- but I think the resulting call sites are all more readable (and can be more efficient for the compiler)
We should also be aware this may cause breaking changes downstream with some of the iOS/Android/WASM runtimes too. Which is fine!
breaking changes -- it certainly may -- I need that devops script so I can quickly find them :)
I expect that passing Vec2D by value is more efficient than by const& (modern abis can pass 2 (or 4) floats as a single arg) but will explore that later.