[orx-jumpflood] Remove #version from jumpflood shaders (#215)

This commit is contained in:
Abe Pazos
2021-12-18 21:16:50 +01:00
committed by GitHub
parent ef1da87c29
commit e5312e685d
28 changed files with 19 additions and 108 deletions

View File

@@ -42,14 +42,9 @@ fun main() {
extend {
drawer.clear(ColorRGBa.PINK)
sdf0.setShapes(shapes.mapIndexed { index, it ->
it.transform(transform {
translate(1280 / 2.0, 720.0 / 2)
translate(-1280 / 2.0, -720.0 / 2.0)
})
})
sdf0.setShapes(shapes)
sdf1.setShapes(shapes.mapIndexed { index, it ->
sdf1.setShapes(shapes.map {
it.transform(transform {
translate(1280 / 2.0, 720.0 / 2)
rotate(Vector3.Companion.UNIT_Z, seconds * 45.0 - 30.0)