From d07d87964f13d3c1e6ad8c2f6d7db21101f1ef34 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 11 May 2020 13:29:51 +0200 Subject: libftm matrix, dynamic vector instead of fixed size --- vendor/libftm/inc/libftm_vec4.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 vendor/libftm/inc/libftm_vec4.h (limited to 'vendor/libftm/inc/libftm_vec4.h') diff --git a/vendor/libftm/inc/libftm_vec4.h b/vendor/libftm/inc/libftm_vec4.h deleted file mode 100644 index e89bd89..0000000 --- a/vendor/libftm/inc/libftm_vec4.h +++ /dev/null @@ -1,30 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* libftm.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: charles +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/05/09 20:48:30 by charles #+# #+# */ -/* Updated: 2020/05/09 21:11:12 by charles ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef LIBFTM_VEC4_H -# define LIBFTM_VEC4_H - -/* -** \brief 4 component vector [x, y, z, w] -*/ - -typedef struct -{ - float v[4]; -} t_ftmvec4; - -t_ftmvec4 *ftm_vec4add(t_ftmvec4 *dst, t_ftmvec4 *other); -t_ftmvec4 *ftm_vec4sub(t_ftmvec4 *dst, t_ftmvec4 *other); -float ftm_vec4dot(t_ftmvec4 *a, t_ftmvec4 *b); -t_ftmvec4 *ftm_vec4scale(t_ftmvec4 *dst, float scalar); - -#endif -- cgit