3d-matrices icon indicating copy to clipboard operation
3d-matrices copied to clipboard

A utility library implementing 2x2, 3x3, 4x4, and NxM matrix functionality.

Results 5 3d-matrices issues
Sort by recently updated
recently updated
newest added

Hello, thanks for making this library, it's very useful in game development. I found an error in the documentation, which should say SIMPLE-ARRAY (because SIMPLE-VECTOR always has element type T):...

It seems that `M*` always multiplies vectors as if they were on the right-hand side. The following: ```lisp (let ((vec (vec4 1 2 3 4)) (mat (mat4 '(1 2 3...

`(n*m mat1 mat2 vec)` modifies both `mat2` and `vec` instead of just `vec`. ``` (let ((mat1 (mat 1 0 0 2)) (mat2 (mat 6 0 0 6)) (vec (vec 10...

The bug occurs in the general version of `MDET`. I've used `%MATN` and `%PROPER-ARRAY` to force the creation of a `MATN` (instead of a `MAT3` that I would get using...

Currently the `MATN` function tries to be clever and construct one of `MAT{2,3,4}` when it detects those dimensions. This is ok by itself, however, the general versions of every (?)...