Skip to content

Instantly share code, notes, and snippets.

View SerProspekt's full-sized avatar

Mohammad Alruwaili SerProspekt

View GitHub Profile
@retorillo
retorillo / win32_layered_window.md
Last active January 5, 2026 01:45
Summarise about layered window introduced on Windows 2000 (tested on Windows 10 and Windows 11)
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Math.md
Last active February 6, 2026 14:23
GLSL Math functions

Trigonometry

const float PI = 3.1415926535897932384626433832795;
const float PI_2 = 1.57079632679489661923;
const float PI_4 = 0.785398163397448309616;

float PHI = (1.0+sqrtf(5.0))/2.0;
@koute
koute / opengl3_hello.c
Created November 9, 2013 23:16
Minimal SDL2 + OpenGL3 example.
/*
Minimal SDL2 + OpenGL3 example.
Author: https://github.com/koute
This file is in the public domain; you can do whatever you want with it.
In case the concept of public domain doesn't exist in your jurisdiction
you can also use this code under the terms of Creative Commons CC0 license,
either version 1.0 or (at your option) any later version; for details see:
http://creativecommons.org/publicdomain/zero/1.0/