Skip to content

Instantly share code, notes, and snippets.

View kosua20's full-sized avatar
🐉
Rendering

Simon Rodriguez kosua20

🐉
Rendering
View GitHub Profile
@kosua20
kosua20 / glsl450listing.h
Created January 5, 2018 20:15
GLSL 4.50 functions prototypes
/**
** GLSL 4.50 functions prototypes *****************************************
* as defined in the specification. *
* (https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.4.50.pdf) *
* 01/2018 *
* Simon Rodriguez - simonrodriguez.fr - github.com/kosua20 *
***************************************************************************
- "Templates":
@kosua20
kosua20 / extract-lcl.py
Last active August 9, 2017 18:03
LCL PDF account sheets extraction. Usage: `extract-lcl.py file-to-extract.pdf`. Based on https://github.com/aaugustin/lcl
#!/usr/bin/env python
#from __future__ import unicode_literals
import collections
import datetime
import decimal
import sys
from pdfminer.converter import PDFPageAggregator
@kosua20
kosua20 / gist:0c506b81b3812ac900048059d2383126
Created March 18, 2017 18:35
NVIDIA FXAA 3.11 by TIMOTHY LOTTES
/*============================================================================
NVIDIA FXAA 3.11 by TIMOTHY LOTTES
------------------------------------------------------------------------------
COPYRIGHT (C) 2010, 2011 NVIDIA CORPORATION. ALL RIGHTS RESERVED.
------------------------------------------------------------------------------
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED