change rotation prototype to t_point_3d

This commit is contained in:
whaffman 2024-12-08 13:21:18 +01:00
parent 0cb11a2bbe
commit 7b195e4536

View File

@ -1,6 +1,6 @@
#include "fdf.h"
void rotate_x(t_point **points, double angle, int size)
void rotate_x(t_point_3d **points, double angle, int size)
{
int i;
double previous_y;
@ -14,7 +14,7 @@ void rotate_x(t_point **points, double angle, int size)
i++;
}
}
void rotate_y(t_point **points, double angle, int size)
void rotate_y(t_point_3d **points, double angle, int size)
{
int i;
double previous_x;
@ -28,7 +28,7 @@ void rotate_y(t_point **points, double angle, int size)
i++;
}
}
void rotate_z(t_point **points, double angle, int size)
void rotate_z(t_point_3d **points, double angle, int size)
{
int i;
double previous_x;