summaryrefslogtreecommitdiff
path: root/core/math/vector2.cpp
AgeCommit message (Expand)Author
2022-01-03Update copyright statements to 2022Rémi Verschelde
2021-11-16Rename built-in `SGN()` macro to `SIGN()`Hugo Locurcio
2021-11-09Fix Vector2.angle_to_point() being reversedTomasz Chabora
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
2021-09-07Use builtin Vector2 functions for calculation of angles.Anilforextra
2021-08-31Add Vector2.from_angle() methodkobewi
2021-08-15Add constant to vector function parameters that don't actually modify their i...Ricard Rovira Cubeles
2021-06-11Reformat structure string operatorsAaron Franke
2021-06-03Allow clamping vectors and colorsAaron Franke
2021-06-03Rename Vector2 clamped to limit_length and add limit_length to Vector3Aaron Franke
2021-05-20Make is_equal_approx have explicit float and double versionsAaron Franke
2021-01-25Define GDNative sizes using sizeof(godot_real_t) and sizeof(int32_t)Aaron Franke
2021-01-01Update copyright statements to 2021Rémi Verschelde
2020-12-28Rename Math::stepify to snappedMarcel Admiraal
2020-12-07Improve argument names for core typesAaron Franke
2020-11-06Refactored Variant Operators.reduz
2020-05-19Style: Remove unnecessary semicolons from `core`Rémi Verschelde
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
2020-04-21Improve the Vector2 rotated codeAaron Franke
2020-01-24Add explanations for errors related to Vector/Quat normalizationHugo Locurcio
2020-01-01Update copyright statements to 2020Rémi Verschelde
2019-10-14Make is_equal_approx separate for structuresAaron Franke
2019-08-17Add Vector2/3 sign and posmod functions, misc additionsAaron Franke
2019-05-28Added move_toward functions for float, Vector2 and Vector3Giacom
2019-02-25Several fixes to make GLES2 on HTML5 work much better.Juan Linietsky
2019-01-01Update copyright statements to 2019Rémi Verschelde
2018-10-06Remove redundant "== false" codeAaron Franke
2018-08-22[Mono] Vector2/3 Project methodsAaron Franke
2018-08-16add project method to Vector2/3Thomas Herzog
2018-08-11[Core] Move Vector2i and Rect2i out of math_2d.hAaron Franke
2018-08-10[Core] Move Vector2 to its own fileAaron Franke