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
da57558078
docs for new ray functions
2024-03-22 22:30:22 +03:00
Bruce Mitchener
182c28faf8
Allow passing const float*
to make
functions.
2024-03-18 19:49:50 +07:00
Bruce Mitchener
af5048595f
docs: Use .. note::
to display better.
...
Also, make sure the note content has a blank line after it to
remove a warning from Sphinx.
2024-02-11 23:43:35 +07:00
Bruce Mitchener
e4419c4f18
Fix typos.
2024-02-08 15:12:30 +07: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
Sundaram Ramaswamy
2e8162b133
Fix vec3_ortho
2021-06-09 23:18:32 +05:30
Uwila
e895fe884e
Fix some documentation mistakes
2020-04-12 16:11:18 +02:00
Uwila
2bf576c2cd
Fix documentation mistake for glm_vec3_rotate ( #126 )
...
In the documentation, for glm_vec3_rotate, correctly labels `angle` as `in` rather than `out`.
Co-authored-by: Recep Aslantas <info@recp.me >
2020-03-20 22:58:48 +03:00
Recep Aslantas
03fda193a5
vec: update docs for norm
2019-08-30 14:47:26 +03:00
Recep Aslantas
2ef9c23a6c
vec: normalize cross product helper
2018-12-06 18:01:52 +03:00
Recep Aslantas
6d6954b208
vec: minnadd
and maxadd
helpers
2018-11-29 10:50:24 +03:00
Recep Aslantas
aee381d869
vec: deprecate glm_vec_inv
and glm_vec4_inv
...
* because in the current implementation, `glm_vec3_negate` does same thing. It is duplicate.
2018-11-29 09:23:14 +03:00
Recep Aslantas
b4bf8f3537
vec: rename glm_vec_
to glm_vec3_
(continue)
...
* add missing functions to vec4
* update docs
2018-11-29 09:07:48 +03:00
Recep Aslantas
463099350a
vec: use _negate
instead of _flipsign
and _inv
...
* negate is better and common name, flipsign is deprecated now.
2018-11-28 10:28:00 +03:00
Recep Aslantas
3dc9070909
squared distance for vec3
2018-05-30 23:35:59 +03:00
Recep Aslantas
d6395d4fb8
vec: optimize rotate vector using matrix
...
* add mat3 version
2018-04-13 22:33:32 +03:00
Recep Aslantas
7f7007574b
vec: implement muladd's scalar version
2018-04-13 22:30:44 +03:00
Recep Aslantas
c05f58a169
vec: add addadd, subadd and muladd helpers
2018-04-13 15:46:43 +03:00
Recep Aslantas
d841f8809d
vec: add some new functions for vector
...
* _mul: multiply two vector (replacement for _mulv)
* _div: div two vector
* _divs: div vector with scalar
* adds: add scalar to each components of vec
* subs: sub scalar from each components of vec
2018-04-13 15:12:56 +03:00
Recep Aslantas
25fc3d0284
vec: add one and zero helpers for vectors
2018-04-13 11:57:14 +03:00
Recep Aslantas
0e63c245d4
update docs
2018-04-11 12:34:20 +03:00
Recep Aslantas
71b48b530e
add documentation for clamp
2018-03-22 21:24:26 +03:00
Recep Aslantas
0e964a1a62
complete documentation
2018-03-03 17:59:50 +03:00
Recep Aslantas
b3a39aa13c
docs: add docs for quaternions
2018-02-27 11:14:03 +03:00
Recep Aslantas
77e62163ea
docs: add docs for vec3
2018-02-26 16:21:04 +03:00