A function defined in BBMOD_Vec4.gml
SubSelf(_v)
Subtracts vector _v
from this vector and stores the result into self
.
Name | Type | Description |
---|---|---|
_v | Struct.BBMOD_Vec4 |
The vector to subtract from this one. |
Struct.BBMOD_Vec4
Returns self
.
var _v1 = new BBMOD_Vec4(1.0, 2.0, 3.0, 4.0);
var _v2 = new BBMOD_Vec4(5.0, 6.0, 7.0, 8.0);
_v1.SubSelf(_v2); // Equals to BBMOD_Vec4(-4.0, -4.0, -4.0, -4.0)
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.