transparent-cube

Minimal cross-platform native/wasm graphics example.
git clone git://git.amin.space/transparent-cube.git
Log | Files | Refs | README | LICENSE

commit 14532145b7b19e5fbdd246248118031058b6bc94
parent 457c6a8567abb6143f771e315f32234c7af55a83
Author: amin <dev@aminmesbah.com>
Date:   Wed,  3 Jul 2019 06:19:04 +0000

Fill whole browser window with webgl canvas

FossilOrigin-Name: 583913e957741255ada107a1f693a274497baf7b41636c3677c888ffde282a9a
Diffstat:
Msrc/platform_wasm_index.html | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/platform_wasm_index.html b/src/platform_wasm_index.html @@ -2,7 +2,8 @@ <title>Transparent Cube</title> <meta name=viewport content='width=device-width,initial-scale=1' charset='utf-8'> <style> -body { +body, html { + height: 100%; margin: 0; overflow: hidden; }