HaxePunk/HaxePunk — pull request #303 by Nananas (2014-06-06 21:45:00+00:00)
Title: Lighting shader 'fix'

Fixed the lighting shader: the normals had to be transformed too.
The normal transform matrix only updates if necessary (= when the modelview transform matrix changes).

(As lights are not yet implemented, I just hardcoded a light.)