From 50b46895d5a6f934070d89dc3dac7f37efd3e3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Sun, 27 Oct 2024 20:42:11 +0900 Subject: [PATCH] examples: rename perlin to perlin-noise --- examples/build.zig | 2 +- examples/lib/index.html | 2 +- examples/lib/{perlin.html => perlin-noise.html} | 2 +- examples/lib/{perlin.js => perlin-noise.js} | 2 +- examples/src/{perlin.zig => perlin_noise.zig} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename examples/lib/{perlin.html => perlin-noise.html} (99%) rename examples/lib/{perlin.js => perlin-noise.js} (98%) rename examples/src/{perlin.zig => perlin_noise.zig} (100%) diff --git a/examples/build.zig b/examples/build.zig index 1743fca..a82d68f 100644 --- a/examples/build.zig +++ b/examples/build.zig @@ -5,7 +5,7 @@ pub fn build(b: *std.Build) void { const optimize = b.standardOptimizeOption(.{}); _ = buildModule(b, "colorspace", target, optimize); _ = buildModule(b, "face_alignment", target, optimize); - _ = buildModule(b, "perlin", target, optimize); + _ = buildModule(b, "perlin_noise", target, optimize); const fmt_step = b.step("fmt", "Run zig fmt"); const fmt = b.addFmt(.{ diff --git a/examples/lib/index.html b/examples/lib/index.html index 99d46f9..38963b4 100644 --- a/examples/lib/index.html +++ b/examples/lib/index.html @@ -15,7 +15,7 @@

Examples

diff --git a/examples/lib/perlin.html b/examples/lib/perlin-noise.html similarity index 99% rename from examples/lib/perlin.html rename to examples/lib/perlin-noise.html index 30d7077..7987e0c 100644 --- a/examples/lib/perlin.html +++ b/examples/lib/perlin-noise.html @@ -38,7 +38,7 @@

Perlin Noise

- + diff --git a/examples/lib/perlin.js b/examples/lib/perlin-noise.js similarity index 98% rename from examples/lib/perlin.js rename to examples/lib/perlin-noise.js index 05ddf41..2fb2677 100644 --- a/examples/lib/perlin.js +++ b/examples/lib/perlin-noise.js @@ -1,5 +1,5 @@ (function() { - let wasm_promise = fetch("perlin.wasm"); + let wasm_promise = fetch("perlin_noise.wasm"); var wasm_exports = null; const text_decoder = new TextDecoder(); diff --git a/examples/src/perlin.zig b/examples/src/perlin_noise.zig similarity index 100% rename from examples/src/perlin.zig rename to examples/src/perlin_noise.zig