generated from rnentjes/kotlin-server-web-undertow
Refactor BufferedImage logic with WebGL support, update DisplayView for GPU-based rendering, transition timing functions to Double, optimize MTMCClock frame logic, and add dynamic control for update state in ControlView.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package mtmc.util
|
||||
|
||||
actual fun currentTimeMillis(): Long = System.currentTimeMillis()
|
||||
actual fun currentTimeMillis(): Double = System.currentTimeMillis().toDouble()
|
||||
actual fun requestAnimationFrame(action: (Double) -> Unit) {
|
||||
error("requestAnimationFrame is not supported on JVM")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user