The code I've written here is covered by a BSD3 license, but the original code is hosted at NeHe and covered by the licenses specified there.