Add demo shader and spinning colored cube
This commit is contained in:
1 parent
8e6ec5f820
commit
8dc6e97585
8 files changed
+149
-38
No files matched your search
+3
-1
@@ -13,8 +13,10 @@ env "app" do |env|
|
||||
sources = dirs.reduce([]) do |result, dir|
|
||||
result + glob("#{dir}/**/*.{d,c}")
|
||||
end
|
||||
sources += glob("libs/gl3n/gl3n/**/*.{d,c}")
|
||||
env["D_IMPORT_PATH"] += dirs
|
||||
env["DFLAGS"] += %w[--d-version=BindBC_Static --d-version=SDL_208]
|
||||
env["D_IMPORT_PATH"] += ["libs/gl3n"]
|
||||
env["DFLAGS"] += %w[--d-version=BindBC_Static --d-version=SDL_208 -g]
|
||||
env["LDFLAGS"] += %w[-L-lfreetype -L-lSDL2]
|
||||
env.Program("^/app", sources)
|
||||
end
|
||||
Reference in new issue
Block a user