Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d124827001
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.894 kb
RESOURCES = [
['shaders/block', 'assets/shaders/block.glsl'],
['shaders/postprocess', 'assets/shaders/postprocess.glsl'],
['selection', 'assets/textures/selection.png.texture'],
['blocks/grass01', 'assets/textures/grass01.png']
['blocks/grass02', 'assets/textures/grass02.png']
['blocks/grass03', 'assets/textures/grass03.png']
['blocks/grass04', 'assets/textures/grass04.png']
['blocks/granite', 'assets/textures/granite.png']
['blocks/stone', 'assets/textures/stone.png']
['blocks/rock01', 'assets/textures/rock01.png']
['blocks/rock02', 'assets/textures/rock02.png']
['blocks/water', 'assets/textures/water.png']
['blocks/sand', 'assets/textures/sand.png']
]
makeDefaultResourceManager = ->
resmgr = new webglmc.ResourceManager
resmgr.addFromList RESOURCES
resmgr
public = self.webglmc ?= {}
public.makeDefaultResourceManager = makeDefaultResourceManager
Jump to Line
Something went wrong with that request. Please try again.