d84914ef1e5a
fur_lock.rs
use texturecraft_geom::glam::Vec2;
/// One lock of fur, with its root relative to its cell.
pub(crate) struct FurLock {
pub(crate) root: Vec2,
/// Length along the axis, in cells.
pub(crate) length: f32,
pub(crate) angle_sin: f32,
pub(crate) angle_cos: f32,
/// Total turn of the axis, in radians.
pub(crate) curl: f32,
pub(crate) strength: 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.