visionforge/visionforge-threejs/src/main/kotlin/three/ktutils.kt

9 lines
259 B
Kotlin

@file:Suppress("FunctionName")
package three
import three.renderers.WebGLRenderer
import three.renderers.WebGLRendererParams
fun WebGLRenderer(builder: WebGLRendererParams.() -> Unit): WebGLRenderer =
WebGLRenderer(WebGLRendererParams().apply(builder))