Skip to content

Instantly share code, notes, and snippets.

@s1as3r
s1as3r / bezier.c
Last active January 22, 2026 09:07
cubic bezier curves thingy in raylib
// clang-format off
// cubic bezier curves thingy in raylib
// gcc -Og -std=c11 -o bezier ./bezier.c -lraylib -lm -lpthread -ldl -lX11 -lGL -lrt
#include <stdbool.h>
#include <stdint.h>
#include <raylib.h>
// clang-format on
#define global static