half-edge/src/vec_math.h

34 lines
976 B
C
Raw Normal View History

2014-05-10 15:34:25 +00:00
/*
* Copyright 2011-2014 hasufell
*
* This file is part of a hasufell project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2 of the License only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _DROW_ENGINE_VEC_MATH_H
#define _DROW_ENGINE_VEC_MATH_H
#include "types.h"
#include <stdbool.h>
bool vector_product(vector *a, vector *b, vector *c);
2014-05-10 16:35:22 +00:00
bool normalize_vector(vector *a, vector *b);
2014-05-10 16:19:26 +00:00
bool copy_vector(vector *a, vector *b);
2014-05-10 15:34:25 +00:00
#endif /* _DROW_ENGINE_VEC_MATH_H */