diff options
Diffstat (limited to 'vendor/libftm/src/mat4/ftm_mat4get.c')
| -rw-r--r-- | vendor/libftm/src/mat4/ftm_mat4get.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/libftm/src/mat4/ftm_mat4get.c b/vendor/libftm/src/mat4/ftm_mat4get.c new file mode 100644 index 0000000..3223788 --- /dev/null +++ b/vendor/libftm/src/mat4/ftm_mat4get.c @@ -0,0 +1,18 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ftm_mat4get.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/05/12 13:54:08 by charles #+# #+# */ +/* Updated: 2020/05/12 13:54:09 by charles ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "libftm_mat4.h" + +float ftm_mat4get(t_ftmmat4 *mat4, size_t y, size_t x) +{ + return (mat4->m[y * 4 + x]); +} |
