Closed rgrmra closed 10 months ago
Those values could be changed by a defined const PI.
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L76
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L78
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L80
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L82
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L84
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L86
Fixed! I add a PI constant in header file and changed the values in main to PI, the precision in rotation now is far better!
Those values could be changed by a defined const PI.
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L76
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L78
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L80
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L82
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L84
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/main.c#L86