kool-engine / kool

An OpenGL / WebGPU engine for Desktop JVM, Android and Javascript written in Kotlin
https://fabmax.github.io/kool/kool-js
Apache License 2.0
303 stars 20 forks source link

Added simple "computed field" wrapper for mutable magic #45

Closed andrey-zakharov closed 1 year ago

andrey-zakharov commented 1 year ago

Or, I've just missed something? Is it already exists?

fabmax commented 1 year ago

No it did not exist before but I like it! I just renamed it to TransformedStateValue (and transformedStateOf), which I think describes a bit better what it does.