d84914ef1e5a
lane.rs
use std::collections::BTreeMap;
use texturecraft_core::Channel;
use texturecraft_texel::TileImage;
use crate::StampSource;
/// What one symmetry copy of a smudge stroke carries: its own previous stamp and deposits
#[derive(Clone, Debug)]
pub(super) struct Lane {
pub(super) source: Option<StampSource>,
pub(super) prev: Option<[f32; 2]>,
pub(super) alpha: TileImage,
pub(super) values: BTreeMap<Channel, TileImage>,
}
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.