A function defined in BBMOD_Vec3.gml
Copy(_dest)
Copies components of the vector to the _dest
vector.
Name | Type | Description |
---|---|---|
_dest | Struct.BBMOD_Vec3 |
The destination vector. |
Struct.BBMOD_Vec3
Returns self
.
var _v1 = new BBMOD_Vec3(1.0, 2.0, 3.0);
var _v2 = new BBMOD_Vec3(4.0, 5.0, 6.0);
show_debug_message(_v2) // Prints { X: 4.0, Y: 5.0, Z: 6.0 }
_v1.Copy(_v2);
show_debug_message(_v2) // Prints { X: 1.0, Y: 2.0, Z: 3.0 }
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.