mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Add Poisson-disk sampling node and Bezier-rs 0.4 release (#1586)
* Add Poisson-disk sampling node and Bezier-rs 0.4 release * Additional optimizations * More performance optimizations with help from 0Hypercube * Add comments
This commit is contained in:
@@ -483,7 +483,7 @@ impl Color {
|
||||
if luminance <= 0.008856 {
|
||||
(luminance * 903.3) / 100.
|
||||
} else {
|
||||
(luminance.powf(1. / 3.) * 116. - 16.) / 100.
|
||||
(luminance.cbrt() * 116. - 16.) / 100.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user