diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-05-11 13:29:51 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-05-11 13:29:51 +0200 |
| commit | d07d87964f13d3c1e6ad8c2f6d7db21101f1ef34 (patch) | |
| tree | 52dd2e82580eb3c70201991b53a2a2b4c434908b /vendor/libftm/inc/libftm_vec3.h | |
| parent | 0700a8f567ab733a57fe688e45e5092d3fa1c1a0 (diff) | |
| download | scop-d07d87964f13d3c1e6ad8c2f6d7db21101f1ef34.tar.gz scop-d07d87964f13d3c1e6ad8c2f6d7db21101f1ef34.tar.bz2 scop-d07d87964f13d3c1e6ad8c2f6d7db21101f1ef34.zip | |
libftm matrix, dynamic vector instead of fixed size
Diffstat (limited to 'vendor/libftm/inc/libftm_vec3.h')
| -rw-r--r-- | vendor/libftm/inc/libftm_vec3.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/vendor/libftm/inc/libftm_vec3.h b/vendor/libftm/inc/libftm_vec3.h deleted file mode 100644 index fc86dcb..0000000 --- a/vendor/libftm/inc/libftm_vec3.h +++ /dev/null @@ -1,31 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* libftm_vec3.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/05/09 20:38:30 by charles #+# #+# */ -/* Updated: 2020/05/09 21:12:05 by charles ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef LIBFTM_VEC3_H -# define LIBFTM_VEC3_H - -/* -** \brief 3 component vector [x, y, z] -*/ - -typedef struct -{ - float v[3]; -} t_ftmvec3; - -t_ftmvec3 *ftm_vec3add(t_ftmvec3 *dst, t_ftmvec3 *other); -t_ftmvec3 *ftm_vec3sub(t_ftmvec3 *dst, t_ftmvec3 *other); -float ftm_vec3dot(t_ftmvec3 *a, t_ftmvec3 *b); -void ftm_vec3cross(t_ftmvec3 *dst, t_ftmvec3 *a, t_ftmvec3 *b); -t_ftmvec3 *ftm_vec3scale(t_ftmvec3 *dst, float scalar); - -#endif |
