rexim hace 2 años
padre
commit
0253c0b840
Se han modificado 4 ficheros con 6 adiciones y 6 borrados
  1. 1 1
      build.sh
  2. 0 0
      demos/dots3d.c
  3. 5 5
      index.html
  4. BIN
      wasm/dots3d.wasm

+ 1 - 1
build.sh

@@ -30,7 +30,7 @@ build_vc_demo() {
 build_all_vc_demos() {
     mkdir -p ./build/demos
     build_vc_demo triangle &
-    build_vc_demo 3d &
+    build_vc_demo dots3d &
     build_vc_demo squish &
     build_vc_demo triangle3d &
     build_vc_demo triangleTex &

+ 0 - 0
demos/3d.c → demos/dots3d.c


+ 5 - 5
index.html

@@ -16,10 +16,10 @@
       <canvas id="app-triangle"></canvas>
     </div>
 
-    <div id="sec-3d">
-      <h2 id="demo-3d"><a href="#demo-3d">3D</a></h2>
-      <p>A bunch of 3D points projected onto your 2D screen plus a text with a builtin monospaced font. Source:&nbsp;<a href="https://github.com/tsoding/olive.c/blob/master/demos/3d.c">demos/3d.c</a></p>
-      <canvas id="app-3d"></canvas>
+    <div id="sec-dots3d">
+      <h2 id="demo-dots3d"><a href="#demo-dots3d">Dots 3D</a></h2>
+      <p>A bunch of 3D dots projected onto your 2D screen plus a text with a builtin monospaced font. Source:&nbsp;<a href="https://github.com/tsoding/olive.c/blob/master/demos/dots3d.c">demos/dots3d.c</a></p>
+      <canvas id="app-dots3d"></canvas>
     </div>
 
     <div id="sec-squish">
@@ -61,7 +61,7 @@
     <script src="js/vc.js"></script>
     <script>
       startDemo("triangle", "./wasm/triangle.wasm");
-      startDemo("3d", "./wasm/3d.wasm");
+      startDemo("dots3d", "./wasm/dots3d.wasm");
       startDemo("squish", "./wasm/squish.wasm");
       startDemo("triangle3d", "./wasm/triangle3d.wasm");
       startDemo("triangleTex", "./wasm/triangleTex.wasm");

BIN
wasm/3d.wasm → wasm/dots3d.wasm