stefnotch

Results 551 comments of stefnotch

Another note regarding the docs: It might be nice to automatically load the library so that anyone can quickly test it out in the browser console.

That is true, depending on how much attention this issue gets, we might want to change that. For the record, there are other APIs that use degrees for euler angles...

Oh, that is a bug indeed. I'd gladly accept a PR that fixes this. (Other reference for myself https://github.com/FlaxEngine/FlaxAPI/blob/master/FlaxEngine/Math/Quaternion.cs#L743 )

If you're worried about backwards compatibility, I can add this to the 4.0 milestone. (Though, the 4.0 milestone isn't progressing very fast, because on one hand I'm waiting for WebAssembly...

I'll consider setter functions and whatnot (quite possibly in a separate package) for the [next gl-matrix major version](https://github.com/toji/gl-matrix/milestone/4).

Some things worth investigating here are - Copying the matrix in a loop and doing the operations on that - Array buffer views (Float32Array or DataView or subarray) - Optional...

That's a great suggestion. I'm always open to making the API more consistent. So, of course such methods could be added to `mat2d` and mat3`. If you can open a...

I'd honestly love a "compiler" that inlines functions.

I'm always open to suggestions or PRs regarding improving gl-matrix!