gl-matrix
gl-matrix copied to clipboard
3x4 Matrix support
I'm currently working on a project which requires to work with 3x4 matrices (example here). Since full 3x4 matrix support is probably too much, @stefnotch do you think the mat4 module could be extended with (for example) a toMat3x4 method?
Edit: GLM seems to support 3x4 matrices using glm::mat3x4
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 want it.
GLM seems to support 3x4 matrices using
glm::mat3x4
Good to know, then once WebAssembly supports garbage collection, a totally new version of glMatrix could be released that simply does whatever GLM does. And maybe a bit more.