warning: array subscript # is outside array bounds
of ‘float[#]’ [-Warray-bounds]
Commit also fixes variable order when calculating
multiplication between two matrices.
Signed-off-by: Vincent Davis Jr <[email protected]>
Functions include:
* glm_mat#x#_copy
* glm_mat#x#_zero
* glm_mat#x#_mul
* glm_mat#x#_mulv
* glm_mat#x#_transpose
* glm_mat#x#_scale
Commit also includes some minor changes to
* mat2
* mat3
* mat4
Signed-off-by: Vincent Davis Jr <[email protected]>
Function takes in a float array. Array must be
at least of size 4 and converts it into
a 4D vector.
Signed-off-by: Vincent Davis Jr <[email protected]>
Function takes in a float array. Array must be
at least of size 3 and converts it into
a 3D vector.
Signed-off-by: Vincent Davis Jr <[email protected]>
Just a copy of glm_vec2, but with the
word _make suffixed at the end.
Function takes in a float array array must be
at least of size 2 and converts it into
a 2D vector.
Signed-off-by: Vincent Davis Jr <[email protected]>
Makes it so that it's easier to identify
the potential usecase of function. Commit also
includes a fix to the struct/quat.h glms_quat_make
comment. Should be returning versors it's not
a void function.
Signed-off-by: Vincent Davis Jr <[email protected]>
Problem:
../test/runner.c:29:3: error: implicit declaration of function
‘glm_arch_print’ [-Werror=implicit-function-declaration]
29 | glm_arch_print(stderr);
| ^~~~~~~~~~~~~~
| glm_vec2_print
glm_arch_print is not available unless you add the DEBUG macro.
Signed-off-by: Vincent Davis Jr <[email protected]>
Running on an already built build directory
meson configure -Denable_tests=true build/
Leads to
ERROR: Unknown options: "enable_tests"
Seems the meson option was updated
Signed-off-by: Vincent Davis Jr <[email protected]>