pub struct GridWorldTransform {
pub origin: [f32; 3],
pub rot_cols: [[f32; 3]; 3],
}Expand description
XS.3 — a grid’s world transform for cross-grid shadows: world origin +
the local→world rotation columns (rot_cols[i] = world image of grid-local
axis i). Built host-side per frame from the grid’s GridTransform and
handed to [SceneRenderer::render_scene] alongside the per-grid cameras.
Fields§
§origin: [f32; 3]§rot_cols: [[f32; 3]; 3]Trait Implementations§
Source§impl Clone for GridWorldTransform
impl Clone for GridWorldTransform
Source§fn clone(&self) -> GridWorldTransform
fn clone(&self) -> GridWorldTransform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GridWorldTransform
Auto Trait Implementations§
impl Freeze for GridWorldTransform
impl RefUnwindSafe for GridWorldTransform
impl Send for GridWorldTransform
impl Sync for GridWorldTransform
impl Unpin for GridWorldTransform
impl UnsafeUnpin for GridWorldTransform
impl UnwindSafe for GridWorldTransform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more