rgrmra / fdf

This project is about representiong a landscape as a 3D object in which all surfaces are outlined in lines.
0 stars 0 forks source link

Need more verification #1

Closed rgrmra closed 10 months ago

rgrmra commented 10 months ago

It should verify if has a comma first, than pass the remaining string to the function ft_atoc.

https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/fdf_parser_map.c#L87

rgrmra commented 10 months ago

Fixed! First we check for comma then check for hex. If it won't find comma "," or hex "0x" it will define the color as white.