A function defined in BBMOD_Vec4.gml
Copy(_dest)
Copies components of the vector to the _dest
vector.
Name | Type | Description |
---|---|---|
_dest | Struct.BBMOD_Vec4 |
The destination vector. |
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);
show_debug_message(_v2) // Prints { X: 5.0, Y: 6.0, Z: 7.0, W: 8.0 }
_v1.Copy(_v2);
show_debug_message(_v2) // Prints { X: 1.0, Y: 2.0, Z: 3.0, W: 4.0 }
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.