Skip to content

Instantly share code, notes, and snippets.

View worstname's full-sized avatar
🛠️

worstname

🛠️
View GitHub Profile
@realark
realark / ctriangle.cpp
Last active September 26, 2024 01:11
opengl hello triangle on c++ and common lisp
#include <iostream>
#include <string>
#include <GL/glew.h>
#include <GL/glu.h>
#include <SDL2/SDL.h>
// compile and run:
// rm csdlopengl ; gcc -o csdlopengl ctraingle.cpp -lSDL2 -lGLEW -lstdc++ -lGL && ./csdlopengl