UDF library of functions to use with 2 dimensional vectors.
Catatan Rilis:
structured the function list better, added a few more functions and updated label for the tests to be more readable.
Catatan Rilis:
added functions: assign, rescale, perp, angle, project, reflect, array center.
Catatan Rilis:
changed: assign function to from.
changed: move_to function to lerp.
added: atan2, min, max, scale, angle, clamp.
changed: move_to function to lerp.
added: atan2, min, max, scale, angle, clamp.
Catatan Rilis:
moved some functions location: _normalize, _rescale
added function: _get_xy to return x,y elements in a tuple form.
improved casting within library calls.
added function: _get_xy to return x,y elements in a tuple form.
improved casting within library calls.
Catatan Rilis:
Added array methods: size, sum, push, pop, unshift, shift.
Catatan Rilis:
added function to get the area of a triangle with 3 vector coordinates.
Catatan Rilis:
added functions:line_new, line_get_a, line_get_b, line_intersection, draw_line
Catatan Rilis:
added functions: rotate_around, array_rotate_points, line_new, line_get_a, line_get_b, line_intersect, draw_line, draw_triangle, draw_rect.
note: draw_rect has the option to rotate its position around its origin vector.
note: draw_rect has the option to rotate its position around its origin vector.
Catatan Rilis:
added function: array_scale_points, allows to scale a array of vectors based on a perspective origin.
Catatan Rilis:
removed vector2_(pi, phi, e, todegrees, toradians) in favour of their new builtin counter parts.
added:
math_fractional, vector2_fractional, vector2_floor, vector2_sin, vector2_random, vector2_herp, vector2_noise
added:
math_fractional, vector2_fractional, vector2_floor, vector2_sin, vector2_random, vector2_herp, vector2_noise