function
Scale(_s)
Scales each component of the vector by _s
and returns the result as a new vector.
Name | Type | Description |
---|---|---|
_s | Real |
The value to scale the components by. |
Struct.BBMOD_Vec2
The created vector.
new BBMOD_Vec2(1.0, 2.0).Scale(2.0) // => BBMOD_Vec2(2.0, 4.0)
Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.