function
is_normalized()
Checks whether self is normalized.
bool
Whether self is length of 1 or not.
vec1 = new Vec2(10, 10);
show_debug_message(vec1.is_normalized()); // Result: false
vec1.normalize();
show_debug_message(vec1.is_normalized()); // Result: true
Copyright © 2020, eL-Falso. Built on December 14, 2020 using GMDoc.