Skip to content

Commit

Permalink
[openrndr-demos] Fix format hint arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinRNDR committed Nov 12, 2020
1 parent 206fb6e commit 6a25740
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openrndr-demos/src/demo/kotlin/DemoCubemap01.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.openrndr.extras.meshgenerators.boxMesh
fun main() = application {
program {

val cubemap = Cubemap.fromUrl("file:demo-data/cubemaps/garage_iem.dds", session = Session.active)
val cubemap = Cubemap.fromUrl("file:demo-data/cubemaps/garage_iem.dds", null, session = Session.active)
val cube = boxMesh()
extend(Orbital()) {

Expand Down
2 changes: 1 addition & 1 deletion openrndr-demos/src/demo/kotlin/DemoCubemap02.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.openrndr.extras.meshgenerators.boxMesh

fun main() = application {
program {
val cubemap1 = Cubemap.fromUrl("file:demo-data/cubemaps/garage_iem.dds", session = Session.active)
val cubemap1 = Cubemap.fromUrl("file:demo-data/cubemaps/garage_iem.dds", null, session = Session.active)
val cube = boxMesh()
val cubemap2 = cubemap(cubemap1.width, format = cubemap1.format, type = cubemap1.type, levels = 2, session = Session.active)
cubemap1.copyTo(cubemap2, 0, 0)
Expand Down
2 changes: 1 addition & 1 deletion openrndr-demos/src/demo/kotlin/DemoCubemap03.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.openrndr.extras.meshgenerators.boxMesh

fun main() = application {
program {
val cubemap1 = Cubemap.fromUrl("file:demo-data/cubemaps/garage_iem.dds", session = Session.active)
val cubemap1 = Cubemap.fromUrl("file:demo-data/cubemaps/garage_iem.dds", null, session = Session.active)
val cube = boxMesh()
val cubemap2 = cubemap(cubemap1.width, format = cubemap1.format, type = cubemap1.type, levels = 2, session = Session.active)
cubemap1.copyTo(cubemap2, 0, 0)
Expand Down

0 comments on commit 6a25740

Please sign in to comment.