Fractol 1.0
A fractal visualization project implemented in C.
|
Go to the source code of this file.
Functions | |
double | ft_atod (const char *str) |
Converts a string to a floating-point number. | |
int | ft_strcmp (const char *s1, const char *s2) |
Compares two strings. | |
void | handle_key (mlx_key_data_t keydata, void *param) |
Handles key inputs. | |
void | handle_scroll (double xdelta, double ydelta, void *param) |
Handles mouse scroll input for zooming. | |
int | fr_putstr_fd (char *s, int fd) |
Writes a string to a file descriptor and returns. | |
int fr_putstr_fd | ( | char * | s, |
int | fd | ||
) |
Writes a string to a file descriptor and returns.
Writes a string to a file descriptor.
Definition at line 109 of file utils.c.
double ft_atod | ( | const char * | str | ) |
Converts a string to a floating-point number.
Converts a string to a double.
Definition at line 19 of file utils.c.
int ft_strcmp | ( | const char * | s1, |
const char * | s2 | ||
) |
void handle_key | ( | mlx_key_data_t | keydata, |
void * | param | ||
) |
Handles key inputs.
Definition at line 64 of file utils.c.
void handle_scroll | ( | double | xdelta, |
double | ydelta, | ||
void * | param | ||
) |
Handles mouse scroll input for zooming.
Handles scroll inputs.
Definition at line 91 of file utils.c.