Recep Aslantas
5fde20d65c
build texture transform matrix helper
2025-04-05 13:32:47 +03:00
Recep Aslantas
30b4ea80a9
optimize mat3 scalar inv
2024-03-29 20:59:54 +03:00
Bruce Mitchener
182c28faf8
Allow passing const float* to make functions.
2024-03-18 19:49:50 +07:00
Bruce Mitchener
e4419c4f18
Fix typos.
2024-02-08 15:12:30 +07:00
Vincent Davis Jr
0566a040c0
mat3: add new function glm_mat3_make
...
Function takes in a 9 element float array
and converts it into a mat3 matrix.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-05-14 20:56:25 -05:00
myfreeer
3a9e4df393
simd128: handle both sse2 and simd128 enabled by Emscripten
...
https://github.com/recp/cglm/pull/286#issuecomment-1492985403
2023-04-02 12:39:20 +08:00
myfreeer
fdef58bd1a
simd128: enable in mat3
2023-03-26 19:34:07 +08:00
Harry Godden
7274cee153
mat3_mulv: function behaviour to match with mat4
...
Using mat3_mulv with the same input/output vector creates undesired results.
Respective mat4_mulv function provides temporary vec3 'res'.
Updated this function to match behaviour of mat4.
2020-07-02 23:29:10 +01:00
Recep Aslantas
bb8ff25752
Revert "mark readonly parameters as const"
2019-04-30 08:19:07 +03:00
Recep Aslantas
392565f920
mark readonly parameters as const (continue)
2019-04-28 21:48:19 +03:00
Recep Aslantas
b4efcefe7f
drop glm__memcpy, glm__memset and glm__memzero
...
* implement mat3_zero and mat4_zero functions
* copy matrix items manually in ucopy functions
2019-02-13 10:14:53 +03:00
Recep Aslantas
2b1eece9ac
mat3: add rmc for mat3
2019-02-13 10:12:49 +03:00
Recep Aslantas
21834b4ffb
matrix: trace of matrix
2018-12-06 18:17:02 +03:00
Recep Aslantas
0b8c63a90e
vec: rename glm_vec_ namespace to glm_vec3_
2018-11-28 23:22:30 +03:00
Recep Aslantas
98da3daf82
identiy helper for arrays (matrix/quaternion)
...
this helpers makes all array elements identity
2018-09-12 12:44:11 +03:00
Jonathan Platzer
cc5f533fc9
Add macro for automatic alignment of matrices
2018-07-19 10:14:30 +02:00
Recep Aslantas
059bdfdd4b
update docs
2018-05-27 11:54:05 +03:00
Recep Aslantas
7d783eeace
align local variables on stack
2018-05-23 23:04:06 +03:00
Recep Aslantas
498a33fac5
fix public header's includes
2018-04-21 22:36:25 +03:00
Recep Aslantas
3dc93c56e8
convert quaterinon to xyzw order (part 1)
2018-04-09 18:49:12 +03:00
Recep Aslantas
f0daaca58b
improve matrix to quaternion
2018-04-09 00:46:00 +03:00
Recep Aslantas
c1c659489a
surround macro values with parentheses
2018-02-18 11:16:03 +03:00
Recep Aslantas
9d61668e04
re-organise files, remove cglm prefix from file to make them more clean
2017-07-11 18:05:10 +03:00