-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdistance_square3.c
18 lines (16 loc) · 999 Bytes
/
distance_square3.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* distance_square3.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lduplain <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/01/14 18:49:31 by lduplain #+# #+# */
/* Updated: 2021/01/14 18:50:42 by lduplain ### ########lyon.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
float distance_square3(float a, float b, float c)
{
return (a * a + b * b + c * c);
}