elefher / glmatrix

Automatically exported from code.google.com/p/glmatrix
0 stars 0 forks source link

type vec4 not defined #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I might be mistaken but i turned your library into a closure compiler extern 
file and it complains that type vec4 is not defined in your script

Original issue reported on code.google.com by oliviera...@gmail.com on 18 Oct 2010 at 1:56

GoogleCodeExporter commented 8 years ago
Depending on the settings you use with the closure compiler it will strip out 
any functions that it thinks aren't referenced. The nature of glMatrix makes it 
so that none of the functions cross-reference eachother, and as a result a full 
closure compile will remove most of them as "unnecessary". As I recall, you 
need to use the "simple" optimization setting for glMatrix to work.

Original comment by Tojiro@gmail.com on 27 Feb 2011 at 4:36