From 270476e0387201c85aa686254eb2f4a33205b7d1 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Mon, 18 Jul 2022 07:40:01 +0200 Subject: use texture for rendering planets --- web/pw-visualizer/src/webgl/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/pw-visualizer/src/webgl/index.ts') diff --git a/web/pw-visualizer/src/webgl/index.ts b/web/pw-visualizer/src/webgl/index.ts index 1742713..8d785ef 100644 --- a/web/pw-visualizer/src/webgl/index.ts +++ b/web/pw-visualizer/src/webgl/index.ts @@ -57,8 +57,8 @@ async function main() { return; } + // TODO: do we still need this? const mesh = await url_to_mesh("static/res/images/earth.svg"); - console.log(Math.max(...mesh.positions), Math.min(...mesh.positions)); const renderer = new Renderer(); const factory = await ShaderFactory.create_factory(assets.simpleFragmentShader, assets.simpleVertexShader); -- cgit v1.2.3