fractol/color.c
2023-12-12 17:47:59 +01:00

21 lines
1021 B
C
Executable File

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* color.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fgras-ca <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/09/08 15:47:04 by fgras-ca #+# #+# */
/* Updated: 2023/09/08 15:47:34 by fgras-ca ### ########.fr */
/* */
/* ************************************************************************** */
#include "fractol.h"
int color(int i, t_fractol *fractol)
{
if (fractol->color == 1)
return (i * 0x00ABCDEF);
return (0);
}