Upgrade to OPENRNDR 0.4 snapshot
This commit is contained in:
@@ -9,7 +9,7 @@ sourceSets {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
demoImplementation("org.openrndr:openrndr-core:$openrndrVersion")
|
||||
demoImplementation("org.openrndr:openrndr-application:$openrndrVersion")
|
||||
demoImplementation("org.openrndr:openrndr-extensions:$openrndrVersion")
|
||||
demoRuntimeOnly("org.openrndr:openrndr-gl3:$openrndrVersion")
|
||||
demoRuntimeOnly("org.openrndr:openrndr-gl3-natives-$openrndrOS:$openrndrVersion")
|
||||
|
||||
@@ -2,7 +2,7 @@ import org.openrndr.application
|
||||
import org.openrndr.extensions.SingleScreenshot
|
||||
import org.openrndr.extra.timer.repeat
|
||||
|
||||
fun main() = application {
|
||||
suspend fun main() = application {
|
||||
program {
|
||||
repeat(2.0) {
|
||||
println("hello there $seconds" )
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.openrndr.extra.timer.repeat
|
||||
* This demonstrates how to combine `repeat {}` with a postponed event to trigger drawing
|
||||
*/
|
||||
|
||||
fun main() = application {
|
||||
suspend fun main() = application {
|
||||
program {
|
||||
val event = Event<Any?>().postpone(true)
|
||||
event.listen {
|
||||
|
||||
@@ -2,7 +2,7 @@ import org.openrndr.application
|
||||
import org.openrndr.extensions.SingleScreenshot
|
||||
import org.openrndr.extra.timer.timeOut
|
||||
|
||||
fun main() = application {
|
||||
suspend fun main() = application {
|
||||
program {
|
||||
if (System.getProperty("takeScreenshot") == "true") {
|
||||
extend(SingleScreenshot()) {
|
||||
|
||||
Reference in New Issue
Block a user