diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-10 02:20:21 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-10 02:20:21 +0100 |
commit | 3ecd4588d4aa85a93a06aa5a1a3a60b918a72557 (patch) | |
tree | bfb6b2624e23fc09d640e36a5d5de1b89777062e /world | |
parent | 87f67ff9ae1aa74008042750d354a7dad030020d (diff) | |
download | weareserver-3ecd4588d4aa85a93a06aa5a1a3a60b918a72557.tar weareserver-3ecd4588d4aa85a93a06aa5a1a3a60b918a72557.tar.bz2 weareserver-3ecd4588d4aa85a93a06aa5a1a3a60b918a72557.tar.zst |
some progress on egui
Diffstat (limited to 'world')
-rw-r--r-- | world/src/mesh.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/world/src/mesh.rs b/world/src/mesh.rs index 7d17cc9..c621753 100644 --- a/world/src/mesh.rs +++ b/world/src/mesh.rs @@ -314,6 +314,9 @@ pub fn import_mesh( att }); let g_refractive_index = p.material().ior(); + if let Some(i) = g_refractive_index { + info!("refractive index is {i}"); + } let g_thickness = p.material().volume().map(|v| v.thickness_factor()); let name = mesh.name().map(|e| e.to_owned()); |