examples: rename texture-light -> advanced-gen-texture-light

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-04-21 04:30:11 -07:00 committed by Stephen Gutekanst
parent 417ec654df
commit 8d574e772c
4 changed files with 2 additions and 2 deletions

View file

@ -33,7 +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} },
.{ .name = "advanced-gen-texture-light", .packages = &[_]Pkg{Packages.zmath} },
}) |example| {
const example_exe = b.addExecutable("example-" ++ example.name, "examples/" ++ example.name ++ "/main.zig");
example_exe.setTarget(target);

View file

@ -1,6 +1,6 @@
// in this example:
// - comptime generated image data for texture
// - Blinn-Phong lightning
// - Blinn-Phong lighting
// - several pipelines
//
// quit with escape, q or space