diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-05-13 11:48:22 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-05-13 11:48:22 +0200 |
| commit | 5635d61927b2fc864d92f9f7b40cdb164eeab275 (patch) | |
| tree | 5a9fa7c0cd9a4e662b0ad63d87143890880af173 /vendor/libftm/inc | |
| parent | 723c4602c6ec9b74e841501754e651ef359f6385 (diff) | |
| download | scop-5635d61927b2fc864d92f9f7b40cdb164eeab275.tar.gz scop-5635d61927b2fc864d92f9f7b40cdb164eeab275.tar.bz2 scop-5635d61927b2fc864d92f9f7b40cdb164eeab275.zip | |
Added model center translation
Diffstat (limited to 'vendor/libftm/inc')
| -rw-r--r-- | vendor/libftm/inc/libftm_vec3.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/vendor/libftm/inc/libftm_vec3.h b/vendor/libftm/inc/libftm_vec3.h index e9df2c7..c40d6c8 100644 --- a/vendor/libftm/inc/libftm_vec3.h +++ b/vendor/libftm/inc/libftm_vec3.h @@ -6,7 +6,7 @@ /* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/05/12 11:02:29 by charles #+# #+# */ -/* Updated: 2020/05/12 11:04:08 by charles ### ########.fr */ +/* Updated: 2020/05/13 11:13:12 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,7 +15,16 @@ typedef struct { - float v[3]; + union + { + float v[3]; + struct + { + float x; + float y; + float z; + }; + }; } t_ftmvec3; t_ftmvec3 *ftm_vec3init(t_ftmvec3 *vec3, float x, float y, float z); |
