function
unit_x()
Creates a Vec2 with values { x: 1, y: 0 }.
vec2
self
vec1 = new Vec2().unit_x();
show_debug_message(vec1); // Result: { x : 1, y : 0 }
Copyright © 2020, eL-Falso. Built on December 14, 2020 using GMDoc.