Besier curve added

This commit is contained in:
Stanislav N Mikhailov
2024-12-27 20:05:37 +03:00
parent 3721fb24ce
commit 046a2abd11
4 changed files with 60 additions and 77 deletions
+9
View File
@@ -0,0 +1,9 @@
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <math.h>
#include "Thread.h"
void set_pixel(int x, int y, uint16_t color);
float bernstein(int i, int n, float t);
void draw_bezier(const int *points_x, const int *points_y, size_t num_points, uint16_t color);