mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
* Draw raster images with pad extension instead of repeat * Add the GPU basic brush renderer * Rework the brush tool around the GPU basic brush * Remove the CPU brush implementation
9 lines
300 B
Rust
9 lines
300 B
Rust
pub(super) const SIGMA_CUTOFF: f32 = 3.;
|
|
pub(super) const SIGMA_PER_DIAMETER: f64 = 1. / 4.;
|
|
pub(super) const RIDGE_GAIN: f32 = 5.075688;
|
|
|
|
pub(super) const LUT_SIZE: u32 = 256;
|
|
pub(super) const LUT_V_MAX: f64 = 7.5;
|
|
pub(super) const LUT_T_MAX: f64 = 7.5;
|
|
pub(super) const LUT_CACHE_SIZE: usize = 64;
|