summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 3517237..e41482b 100644
--- a/build.zig
+++ b/build.zig
@@ -271,6 +271,11 @@ pub fn build(b: *Build) void {
compiled_script.addPrefixedDirectoryArg("frames=", compiled.app.addExport(compiled_exe, .{ .fps = 30, .size = .{ 640, 360 }, .frames = 200 }).frames);
test_step.dependOn(&compiled_script.step);
test_anim.dependOn(&compiled_script.step);
+ // Holes through morphs, on the GPU and the CPU renderer (vector/morph.zig).
+ const morph = sb.addScene(.{ .root_source_file = b.path("test/scene_morph.zig") });
+ const morph_script = morph.app.addScript(morph.app.addExecutable(), b.path("test/scene_morph.script"), .{});
+ test_step.dependOn(&morph_script.step);
+ test_anim.dependOn(&morph_script.step);
// The talk example: a Deck in a sketch's own State, stepped, sent back,
// jumped by slides, clicked on its slider, reloaded mid-wait with its