mirror of
https://github.com/Ladebeze66/fractol.git
synced 2025-12-13 04:37:07 +01:00
21 lines
1021 B
C
Executable File
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);
|
|
}
|