scl

open fun scl(scalar: Float): T

Deprecated (with error)

Unlike its equivalent in libGDX, this function does not change the internal state of the vector and returns a new instance instead. This might break existing code designed with mutable vectors in mind.

Replace with

this * scalar

open fun scl(v: T): T

Deprecated (with error)

Unlike its equivalent in libGDX, this function does not change the internal state of the vector and returns a new instance instead. This might break existing code designed with mutable vectors in mind.

Replace with

this * v