summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-08 02:39:03 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-08 02:39:03 +0100
commit6c2cb1d5a54badcbd488fc4bd1d58ea03846369b (patch)
treefe2a634fe115b505fe131607435d256eb00af897 /world
parent18a47eebb5cd9a0a4847f48255a982b3c422e573 (diff)
downloadweareserver-6c2cb1d5a54badcbd488fc4bd1d58ea03846369b.tar
weareserver-6c2cb1d5a54badcbd488fc4bd1d58ea03846369b.tar.bz2
weareserver-6c2cb1d5a54badcbd488fc4bd1d58ea03846369b.tar.zst
remove light
Diffstat (limited to 'world')
-rw-r--r--world/src/main.rs9
1 files changed, 1 insertions, 8 deletions
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)?;