A function defined in BBMOD_Vec4.gml
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_Vec4
The created vector.
// => BBMOD_Vec4(2.0, 4.0, 6.0, 8.0):
new BBMOD_Vec4(1.0, 2.0, 3.0, 4.0).Scale(2.0);
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.