xem / W

A micro WebGL2 framework with a ton of features
https://xem.github.io/W
331 stars 23 forks source link

Change to DOMMatrix creation for performance; build script #29

Open Lukenickerson opened 6 months ago

Lukenickerson commented 6 months ago

Changes to w.js...

New build script is meant to begin to address https://github.com/xem/W/issues/27 Not sure if an automated build will ever be the best, but Uglify + zip seems to get very close to exist

xem commented 6 months ago

Thanks for the PR, and automating the build is a good idea (I'm not good at automating stuff but will gladly accept this kind of addition). Just a question, why don't you keep (new DOMMatrix(...)) at the end ? DOMMatrix.fromMatrix(...) seems more verbose in terms of bytes.