Recep Aslantas
aad5223da0
change signature of refraction to let caller know if refraction occurs or not
2024-03-24 06:31:29 +03:00
Recep Aslantas
2b78f9ab47
refract
2024-03-22 00:18:55 +03:00
Recep Aslantas
8ea2fd1cd1
reflect missing stuff
2024-03-21 02:21:07 +03:00
Recep Aslantas
aa45d081fc
ray: ray sphere intersection
2024-03-20 07:22:36 +03:00
Bruce Mitchener
182c28faf8
Allow passing const float* to make functions.
2024-03-18 19:49:50 +07:00
Recep Aslantas
85ee366861
move deprecated glmc_aabb2d_size to right place
2024-02-24 06:33:30 +03:00
duarm
0d92bfc722
docs and call api for _aabb2d_zero
2024-02-23 14:07:58 -03:00
duarm
237432969d
macro for call api too
2024-02-23 14:01:26 -03:00
duarm
131ac68ad3
size -> diag, new sizev
2024-02-23 13:53:25 -03:00
duarm
7e6a463256
call api
2024-02-19 14:38:05 -03:00
Vitaliy Klychkov
30845124b4
Add additional functions for ivec2 and ivec3
2024-01-27 13:11:04 +00:00
Recep Aslantas
040926999a
Merge pull request #369 from telephone001/master
...
euler to quat functions
2023-12-25 10:42:04 +03:00
BeeverFeever
921ab6640b
Implement -= and += functions for ivecs
2023-12-25 12:51:10 +11:00
John Choi
732a403112
changed last parameter to be destination and also removed the euler->mat4->quat test.
2023-12-13 08:57:10 -06:00
telephone001.mdl
e24675c6e0
Merge branch 'recp:master' into master
2023-12-10 11:38:51 -06:00
Recep Aslantas
4f88a027bc
Merge pull request #364 from BeeverFeever/master
...
New subtraction family of vector functions
2023-12-10 20:29:19 +03:00
John Choi
036fd4848b
moved all my stuff to euler because it fits there better. Also, had to move my tests into a single euler test because it wouldn't work outside that one test. Maybe later I will create test_euler.h like how test_quat.h works
2023-12-09 00:38:38 -06:00
telephone001.mdl
45f2fff22f
Merge branch 'recp:master' into master
2023-12-08 13:09:24 -06:00
John Choi
4ee6aea037
made quat struct and also exported it
2023-12-08 13:05:53 -06:00
duarm
2106f9ebcb
remove _aabb2d_frustum
2023-12-06 16:48:48 -03:00
duarm
c1d78d835b
changing from mat4 to mat3
2023-12-06 16:34:18 -03:00
BeeverFeever
7696374f1e
Vector subtraction functions
...
Add subtraction family of functions for vectors.
2023-12-04 21:32:19 +11:00
duarm
2a975a7d0a
circle fix, new copy func
2023-12-02 21:00:21 -03:00
duarm
53bde05bd9
aabb2d functions
2023-11-11 08:13:28 -03:00
duarm
9484155c98
adding vec2_center
2023-10-11 16:51:14 -03:00
Recep Aslantas
126f809dae
fix glm_ivec2|3_fill and glm_ivec2|3_eq params
2023-09-05 20:19:33 +03:00
duarm
d3169b12a7
missing call functions from vec2
2023-09-04 20:14:59 -03:00
duarm
9d0c9fdb87
adding ivec2, ivec3, ivec4 prints, eqv, eq and fill, documentation fixes
2023-09-04 20:07:37 -03:00
Recep Aslantas
dbb85f24c8
add some missing non-square matrix funcs
2023-07-22 13:37:36 +03:00
Recep Aslantas
6e9e91be05
add _mul for non-square matrices
2023-07-22 12:00:23 +03:00
Recep Aslantas
1e077fd125
add some missing non-square matrix funcs
2023-07-22 01:21:14 +03:00
Vincent Davis Jr
3d292c3a2e
add new matrix mat4x3
...
Initial function being
glm_mat4x3_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-17 22:57:52 -04:00
Vincent Davis Jr
2df26c0ecf
add new matrix mat4x2
...
Initial function being
glm_mat4x2_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-16 20:19:25 -04:00
Vincent Davis Jr
e09cf11f1c
add new matrix mat3x4
...
Initial function being
glm_mat3x4_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-16 15:41:36 -04:00
Vincent Davis Jr
4e44e74d48
add new matrix mat3x2
...
Initial function being
glm_mat3x2_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-15 18:48:50 -04:00
Vincent Davis Jr
fe7471e8f8
add new matrix mat2x4
...
Initial function being
glm_mat2x4_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-15 14:32:48 -04:00
Vincent Davis Jr
6317ed90e7
add new matrix mat2x3
...
Initial function being
glm_mat2x3_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-14 18:57:45 -04:00
Recep Aslantas
8e2074c274
Merge branch 'master' into feature/glm_vec2_make
2023-07-02 22:03:40 +03:00
Recep Aslantas
b8d565c6b6
Merge branch 'master' into feature/glm_vec4_make
2023-07-02 22:02:10 +03:00
Vincent Davis Jr
5833d1bf44
vec4: add new function glm_vec4_make
...
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 <vince@underview.tech >
2023-07-02 13:54:10 -05:00
Vincent Davis Jr
aeeeac4c5a
vec3: add new function glm_vec3_make
...
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 <vince@underview.tech >
2023-07-02 13:25:25 -05:00
Vincent Davis Jr
b3de85a14e
vec2: add new function glm_vec2_make
...
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 <vince@underview.tech >
2023-07-02 12:41:23 -05:00
Vincent Davis Jr
bfe5ea6ab7
quat: add new function glm_quat_make
...
Function takes in a 4 element float array
and converts it into a quaternion.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-06-28 22:49:49 -05:00
Recep Aslantas
31cbd41e3b
Merge pull request #302 from EasyIP2023/feature/glm_mat3_make
...
mat3: add new function glm_mat3_make
2023-05-15 11:18:41 +03:00
Recep Aslantas
c691bc5bc0
Merge pull request #301 from EasyIP2023/feature/glm_mat2_make
...
mat2: add new function glm_mat2_make
2023-05-15 11:18:27 +03: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
Vincent Davis Jr
e6681e78c8
mat2: add new function glm_mat2_make
...
Function takes in a 4 element float array
and converts it into a mat2 matrix.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-05-14 20:30:36 -05:00
Vincent Davis Jr
e17f115f91
mat4: add new function glm_mat4_make
...
Function takes in a 16 element float array
and converts it into a mat4 matrix.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-05-14 20:10:48 -05:00
duarm
a0f01c5ed1
new abs functions for vec2, ivec2, ivec3, ivec4
2022-11-18 14:28:39 -03:00
Recep Aslantas
7c62ad965b
add missing call functions
2022-10-23 12:08:37 +03:00