stefnotch
stefnotch
So, basically, I added the type definitions for my main use case which is simply importing everything from "gl-matrix". I didn't take the subpackages into account, as that seemed a...
I took a look at it and am not sure how to solve those issues. Maybe @hustcc has some ideas?
According to [WebGL2Fundamentals, a mat3 is laid out as 9 floats](https://webgl2fundamentals.org/webgl/lessons/webgl-2d-matrices.html). Would you mind providing some code?
@d07RiV I see. That's a rather tricky issue. Here are a few possible ways of resolving it: - Use a `mat4` instead - Don't use a uniform buffer object -...
@d07RiV Is there any other function that `mat4` is missing other than `normalFromMat4`?
I fully agree that gl-matrix should support this. Now, my thoughts as to how that support should look: > global setting I think that'd be a footgun. The current global...
@toji What are your thoughts regarding this?
A function to set the translation value to something is certainly useful. However, I'm not entirely convinced that it's really needed and thus worth the extra code. You can already...
I fully agree that setter methods like `mat4.moveToVec3` would be convenient. The downside is that I'd have to add all setter methods (consistency) which in turn would increase the file...
I'm not sure if adding 3x4 matrix support, or even a method that converts a matrix to a 3x4 matrix is a good idea. I'll do it if more people...