d84914ef1e5a
ray.rs
use texturecraft_geom::glam::Vec3;
/// GPU buffer layout; batches upload without repacking
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, bytemuck::Pod, bytemuck::Zeroable)]
pub struct Ray {
pub origin: Vec3,
pub max_distance: f32,
pub direction: Vec3,
pub key: u32,
}
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.