-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathm_fdf_math.h
28 lines (23 loc) · 1.26 KB
/
m_fdf_math.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* m_fdf_math.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: nkawaguc <nkawaguc@student.42tokyo.jp> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/28 12:18:52 by nkawaguc #+# #+# */
/* Updated: 2024/10/28 12:19:02 by nkawaguc ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef M_FDF_MATH_H
# define M_FDF_MATH_H
int fdf_abs(int n);
int fdf_max(int a, int b);
int fdf_min(int a, int b);
int in_div(int p1, int p2, int i, int total);
double fdf_abs_d(double n);
double fdf_max_d(double a, double b);
double fdf_min_d(double a, double b);
double in_div_d(double p1, double p2, int i, int total);
void matrix_multiply(double pos[3], double matrix[3][3]);
#endif