mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Make noise generation resolution aware (#1909)
* Make noise generation resolution aware * Invert "Scale" so it's not "Frequency"; make "Clipping" 100x100 not 1x1 --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
@@ -168,9 +168,7 @@ impl Footprint {
|
||||
}
|
||||
|
||||
pub fn scale(&self) -> DVec2 {
|
||||
let x = self.transform.transform_vector2((1., 0.).into()).length();
|
||||
let y = self.transform.transform_vector2((0., 1.).into()).length();
|
||||
DVec2::new(x, y)
|
||||
self.transform.decompose_scale()
|
||||
}
|
||||
|
||||
pub fn offset(&self) -> DVec2 {
|
||||
|
||||
Reference in New Issue
Block a user