[openrndr-demos] Fix format hint arguments
This commit is contained in:
@@ -9,7 +9,7 @@ import org.openrndr.extras.meshgenerators.boxMesh
|
|||||||
fun main() = application {
|
fun main() = application {
|
||||||
program {
|
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()
|
val cube = boxMesh()
|
||||||
extend(Orbital()) {
|
extend(Orbital()) {
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import org.openrndr.extras.meshgenerators.boxMesh
|
|||||||
|
|
||||||
fun main() = application {
|
fun main() = application {
|
||||||
program {
|
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 cube = boxMesh()
|
||||||
val cubemap2 = cubemap(cubemap1.width, format = cubemap1.format, type = cubemap1.type, levels = 2, session = Session.active)
|
val cubemap2 = cubemap(cubemap1.width, format = cubemap1.format, type = cubemap1.type, levels = 2, session = Session.active)
|
||||||
cubemap1.copyTo(cubemap2, 0, 0)
|
cubemap1.copyTo(cubemap2, 0, 0)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import org.openrndr.extras.meshgenerators.boxMesh
|
|||||||
|
|
||||||
fun main() = application {
|
fun main() = application {
|
||||||
program {
|
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 cube = boxMesh()
|
||||||
val cubemap2 = cubemap(cubemap1.width, format = cubemap1.format, type = cubemap1.type, levels = 2, session = Session.active)
|
val cubemap2 = cubemap(cubemap1.width, format = cubemap1.format, type = cubemap1.type, levels = 2, session = Session.active)
|
||||||
cubemap1.copyTo(cubemap2, 0, 0)
|
cubemap1.copyTo(cubemap2, 0, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user