Donny
07/06/2023, 11:09 PM@JsExport.Ignore
val Double.const: KslValueFloat1
get() = KslValueFloat1(this.toFloat())
@JsExport.Ignore
val Float.const: KslValueFloat1
get() = KslValueFloat1(this)
@JsExport.Ignore
val Float.const2: KslValueFloat2
get() = KslValueFloat2(this, this)
@JsExport.Ignore
val Float.const3: KslValueFloat3
get() = KslValueFloat3(this, this, this)
@JsExport.Ignore
val Float.const4: KslValueFloat4
get() = KslValueFloat4(this, this, this, this)
The error is "JavaScript name (<get-const>) generated for this declaration clashes with another declaration: fun Vec4i.`<get-const>`(): KslValueInt4". I've tried to ignore. How can I get past this without changing the code?Artem Kobzar
07/06/2023, 11:16 PMDonny
07/06/2023, 11:17 PMDonny
07/06/2023, 11:18 PMArtem Kobzar
07/07/2023, 9:12 AMDonny
07/07/2023, 3:15 PMArtem Kobzar
07/07/2023, 3:31 PMDonny
07/07/2023, 3:36 PMArtem Kobzar
07/07/2023, 3:37 PMDonny
07/07/2023, 5:21 PM