summaryrefslogtreecommitdiff
path: root/core/math/rect2.h
AgeCommit message (Expand)Author
2022-02-10Float literals - fix main primitives to use .flawnjelly
2022-02-04Core: Move Vector2i to its own `vector2i.h` headerRémi Verschelde
2022-02-04Core: Move Rect2i to its own `rect2i.h` headerRémi Verschelde
2022-01-31Fix incorrect Rect2i calculations: intersects and enclosesMarkus Sauermann
2022-01-20Add nodiscard to core math classes to catch c++ errors.lawnjelly
2022-01-14Remove zero size checks from Rect2 grow methodsAaron Franke
2022-01-03Update copyright statements to 2022Rémi Verschelde
2021-11-30Warn when using an AABB or Rect2 with a negative sizeAaron Franke
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
2021-09-21Add Get Center Method for Rect2/Rect2i and AABB.Anilforextra
2021-06-11Reformat structure string operatorsAaron Franke
2021-05-10Dynamic BVH broadphase in 2D & 3D Godot PhysicsPouleyKetchoupp
2021-01-01Update copyright statements to 2021Rémi Verschelde
2020-12-28Merge pull request #44149 from madmiraal/rename-tangent-orthogonalRémi Verschelde
2020-12-28Rename Rect2 and Rect2i grow_margin() to grow_side()Marcel Admiraal
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-19Rename Rect2 and Rect2i clip() to intersection()Marcel Admiraal
2020-12-06Rename Vector2.tangent() to Vector2.orthogonal()Marcel Admiraal
2020-11-07Refactored variant setters/gettersreduz
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
2020-11-04Implement DirectionalLight2Dreduz
2020-10-14Refactored binding system for core typesreduz
2020-05-19Style: Remove unnecessary semicolons from `core`Rémi Verschelde
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
2020-05-14Port member initialization from constructor to declaration (C++11)Rémi Verschelde
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-04Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'Michael Alexsander
2020-02-22Add support for Vector2i, Rect2i and Vector3i to VariantJuan Linietsky
2020-02-07Fix bug where Control at origin with 0 size not renderednathanwfranke
2020-01-01Update copyright statements to 2020Rémi Verschelde
2019-10-14Make is_equal_approx separate for structuresAaron Franke
2019-10-02Make Rect2.encloses return true on same sizeAlexander Holland
2019-05-01Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde
2019-04-04Small fixes to static analyzer bugsqarmin
2019-03-21Add missing methods to Rect2ilupoDharkael
2019-01-01Update copyright statements to 2019Rémi Verschelde
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
2018-08-11[Core] Move Vector2i and Rect2i out of math_2d.hAaron Franke
2018-08-10[Core] Move Rect2 and Transform2D to their own filesAaron Franke