Browse Source

Update the resolutions of the demos

rexim 2 years ago
parent
commit
eb073ec164
4 changed files with 5 additions and 4 deletions
  1. 2 2
      demos/triangle3d.c
  2. 3 2
      demos/triangle3dTex.c
  3. BIN
      wasm/triangle3d.wasm
  4. BIN
      wasm/triangle3dTex.wasm

+ 2 - 2
demos/triangle3d.c

@@ -2,8 +2,8 @@
 // Let's squash most of them into a single one
 #include "vc.c"
 
-#define WIDTH 800
-#define HEIGHT 600
+#define WIDTH 960
+#define HEIGHT 720
 
 static uint32_t pixels1[WIDTH*HEIGHT];
 static float zbuffer1[WIDTH*HEIGHT];

+ 3 - 2
demos/triangle3dTex.c

@@ -1,8 +1,9 @@
 #include "vc.c"
 #include "./assets/tsodinPog.c"
 
-#define WIDTH 800
-#define HEIGHT 600
+#define WIDTH 960
+#define HEIGHT 720
+
 static uint32_t pixels1[WIDTH*HEIGHT];
 static float zbuffer1[WIDTH*HEIGHT];
 static uint32_t pixels2[WIDTH*HEIGHT];

BIN
wasm/triangle3d.wasm


BIN
wasm/triangle3dTex.wasm