A function defined in BBMOD_Vec2.gml
ScaleSelf(_s)
Scales each component of the vector by _s
and stores the result into self
.
Name | Type | Description |
---|---|---|
_s | Real |
The value to scale the components by. |
Struct.BBMOD_Vec2
Returns self
.
new BBMOD_Vec2(1.0, 2.0).ScaleSelf(2.0) // => BBMOD_Vec2(2.0, 4.0)
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.