Skip to content

Commit

Permalink
examples: rename perlin to perlin-noise
Browse files Browse the repository at this point in the history
  • Loading branch information
arrufat committed Oct 27, 2024
1 parent 2d5e83d commit 50b4689
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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(.{
Expand Down
2 changes: 1 addition & 1 deletion examples/lib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h2>Examples</h2>
<ul>
<li><a href="colorspace.html">Colorspace</a></li>
<li><a href="face-alignment.html">Face aligment</a></li>
<li><a href="perlin.html">Perlin noise</a></li>
<li><a href="perlin-noise.html">Perlin noise</a></li>
</ul>
</main>
<script src="main.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1>Perlin Noise</h1>
</div>
</fieldset>
<canvas id="canvas" width="512" height="512"></canvas>
<script src="perlin.js"></script>
<script src="perlin-noise.js"></script>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/lib/perlin.js → examples/lib/perlin-noise.js
Original file line number Diff line number Diff line change
@@ -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();

Expand Down
File renamed without changes.

0 comments on commit 50b4689

Please sign in to comment.