[orx-fx] Change order of settings and rendering in DemoDistortLenses01.kt

This commit is contained in:
Edwin Jakobs
2022-02-01 09:42:49 +01:00
parent 7261e568be
commit 95f4ccf5f2

View File

@@ -15,10 +15,9 @@ fun main() = application {
val lenses = Lenses()
val edges = image.createEquivalent()
extend {
lenses.bicubicFiltering = false
lenses.apply(image, edges)
lenses.rotation = 0.0
lenses.scale = 1.4
lenses.apply(image, edges)
drawer.image(edges)
}
}