A function defined in BBMOD_Vec2.gml
Minimize(_v)
Creates a new vector where each component is the minimum component from this vector and vector _v
.
Name | Type | Description |
---|---|---|
_v | Struct.BBMOD_Vec2 |
The other vector. |
Struct.BBMOD_Vec2
The created vector.
var _v1 = new BBMOD_Vec2(1.0, 4.0);
var _v2 = new BBMOD_Vec2(2.0, 3.0);
var _vMin = _v1.Minimize(_v2); // Equals to BBMOD_Vec2(1.0, 3.0)
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.