Replace mod_() calls with mod()
This commit is contained in:
@@ -45,7 +45,7 @@ fun main() = application {
|
||||
fov = 40.0
|
||||
}
|
||||
extend {
|
||||
sceneData.animations[0].applyToTargets(seconds.mod_(sceneData.animations[0].duration))
|
||||
sceneData.animations[0].applyToTargets(seconds.mod(sceneData.animations[0].duration))
|
||||
drawer.clear(ColorRGBa.PINK)
|
||||
renderer.draw(drawer, scene)
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ fun main() = application {
|
||||
val cameras = scene.root.findContent { this as? PerspectiveCamera }
|
||||
|
||||
extend {
|
||||
sceneData.animations[0].applyToTargets(seconds.mod_(sceneData.animations[0].duration))
|
||||
sceneData.animations[0].applyToTargets(seconds.mod(sceneData.animations[0].duration))
|
||||
drawer.view = cameras[0].content.viewMatrix
|
||||
drawer.projection = cameras[0].content.projectionMatrix
|
||||
drawer.clear(ColorRGBa.PINK)
|
||||
|
||||
@@ -35,7 +35,7 @@ fun main() = application {
|
||||
camera.setView(Vector3.ZERO, Spherical(30.50, 26.0, 5.6), 40.0)
|
||||
}
|
||||
extend {
|
||||
sceneData.animations[0].applyToTargets(seconds.mod_(sceneData.animations[0].duration))
|
||||
sceneData.animations[0].applyToTargets(seconds.mod(sceneData.animations[0].duration))
|
||||
drawer.clear(ColorRGBa.PINK)
|
||||
renderer.draw(drawer, scene)
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ fun main() = application {
|
||||
camera.setView(Vector3(-0.514, -0.936, -1.122), Spherical(454.346, 25.0, 8.444), 40.0)
|
||||
}
|
||||
extend {
|
||||
sceneData.animations[0].applyToTargets(seconds.mod_(sceneData.animations[0].duration))
|
||||
sceneData.animations[0].applyToTargets(seconds.mod(sceneData.animations[0].duration))
|
||||
drawer.clear(ColorRGBa.PINK)
|
||||
renderer.draw(drawer, scene)
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ fun main() = application {
|
||||
}
|
||||
|
||||
extend {
|
||||
sceneData.animations[0].applyToTargets(seconds.mod_(sceneData.animations[0].duration))
|
||||
sceneData.animations[0].applyToTargets(seconds.mod(sceneData.animations[0].duration))
|
||||
drawer.clear(ColorRGBa.PINK)
|
||||
renderer.draw(drawer, scene)
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ fun main() = application {
|
||||
}
|
||||
|
||||
extend {
|
||||
sceneData.animations[2].applyToTargets(seconds.mod_(sceneData.animations[2].duration))
|
||||
sceneData.animations[2].applyToTargets(seconds.mod(sceneData.animations[2].duration))
|
||||
drawer.clear(ColorRGBa.PINK)
|
||||
renderer.draw(drawer, scene)
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ fun main() = application {
|
||||
}
|
||||
|
||||
extend {
|
||||
sceneData.animations[2].applyToTargets(seconds.mod_(sceneData.animations[2].duration))
|
||||
sceneData.animations[2].applyToTargets(seconds.mod(sceneData.animations[2].duration))
|
||||
drawer.clear(ColorRGBa.PINK)
|
||||
renderer.draw(drawer, scene)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user