example: texture and light
This commit is contained in:
parent
538af3e6df
commit
45df76bdd8
4 changed files with 1016 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ pub fn build(b: *std.build.Builder) void {
|
|||
.{ .name = "rotating-cube", .packages = &[_]Pkg{Packages.zmath} },
|
||||
.{ .name = "two-cubes", .packages = &[_]Pkg{Packages.zmath} },
|
||||
.{ .name = "instanced-cube", .packages = &[_]Pkg{Packages.zmath} },
|
||||
.{ .name = "texture-light", .packages = &[_]Pkg{Packages.zmath} },
|
||||
}) |example| {
|
||||
const example_exe = b.addExecutable("example-" ++ example.name, "examples/" ++ example.name ++ "/main.zig");
|
||||
example_exe.setTarget(target);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue