From 6c2cb1d5a54badcbd488fc4bd1d58ea03846369b Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 8 Jan 2025 02:39:03 +0100 Subject: remove light --- world/src/main.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'world/src/main.rs') diff --git a/world/src/main.rs b/world/src/main.rs index c8ef8c6..30fe8d4 100644 --- a/world/src/main.rs +++ b/world/src/main.rs @@ -107,13 +107,6 @@ fn main() -> Result<()> { } } - prefab.light.push(( - vec3a(5., 5., 5.), - store.set(&LightPart { - emission: Some(vec3a(0.5, 0.1, 1.0)), - radius: Some(0.2), - })?, - )); if let Some(skybox) = args.skybox { let mut buf = Vec::new(); File::open(skybox)?.read_to_end(&mut buf)?; @@ -204,7 +197,7 @@ fn load_texture( uri, mime_type: Some(mime_type), } => { - info!("{name} texture is at {uri:?} and of type {mime_type:?}"); + info!("{name} texture is {uri:?} and of type {mime_type:?}"); let path = path.join(uri); let mut buf = Vec::new(); File::open(path)?.read_to_end(&mut buf)?; -- cgit v1.2.3-70-g09d2