Closed dakom closed 4 years ago
I'm currently working on a little 1:1 port without affecting the API conventions. First benchmarks already show good improvements! :)
@dakom, @stefnotch Is a port of gl-matrix not redundent, because there already exists OpenGL Mathematics? Both even have the same acronym, GLM.
It's also important to know that IO communication between JS and WebAssembly causes a lot of overhead. Unless you built the entire scene in WebAssembly and only sent it back once, there is no point of using GLM (whichever version) in WebAssembly.
@Kevin-at-Navigram Cool project. 👍 However, it still needs a WebAssembly bridge to be useful.
Regarding your performance concerns: https://github.com/toji/gl-matrix/issues/283 and https://maierfelix.github.io/glmw/mat4/ tl;dr: Using a WebAssembly version of gl-matrix with JavaScript would result in a serious performance improvement.
Given the popularity and target of gl-matrix, I'd imagine that a wasm port is on the radar... is that correct?