Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (16 sloc) 689 Bytes
import os
mergedFilePath = os.path.join(os.getcwd(), "webglu.complete.js")
modules = [ 'webglu', 'crazyglu', 'gameglu', 'Util', 'Constants',
'DefaultUniformActions', 'GLSL', 'GLU', 'Animation', 'Object',
'Texture', 'Framebuffer', 'Material', 'Renderer', 'ControlProfiles'
if (os.path.isfile(mergedFilePath)):
modules = [os.path.join(os.getcwd(), module + '.js') for module in modules]
with open(mergedFilePath, 'w') as mergedFile:
for module in modules:
with open(module) as moduleFile:
print module
for line in moduleFile:
Jump to Line
Something went wrong with that request. Please try again.