d84914ef1e5a
overlay_quad.rs
//! See-through quads drawn into the 3D view and hidden where the mesh is in front (the symmetry plane and lines)
use texturecraft_geom::glam::Vec3;
/// A flat quad with its corners in order, in a screen color (linear RGB) and opacity
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct OverlayQuad {
pub corners: [Vec3; 4],
pub color: [f32; 3],
pub opacity: f32,
}
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.