Port irradiance_volumes

This commit is contained in:
Jan Hohenheim 2025-07-13 02:45:00 +02:00
parent 187859f41c
commit cad324cd04
No known key found for this signature in database

View File

@ -13,6 +13,8 @@
//!
//! * Clicking anywhere moves the object.
use std::f32::consts::PI;
use bevy::{
color::palettes::css::*,
core_pipeline::Skybox,
@ -57,8 +59,8 @@ static CLICK_TO_MOVE_HELP_TEXT: &str = "Left click: Move the object";
static GIZMO_COLOR: Color = Color::Srgba(YELLOW);
static VOXEL_FROM_WORLD: Mat4 = Mat4::from_cols_array_2d(&[
[-42.317566, 0.0, 0.0, 0.0],
[0.0, 0.0, 44.601563, 0.0],
[42.317566, 0.0, 0.0, 0.0],
[0.0, 0.0, -44.601563, 0.0],
[0.0, 16.73776, 0.0, 0.0],
[0.0, 6.544792, 0.0, 1.0],
]);