summaryrefslogtreecommitdiff
path: root/core/math/vector2.h
AgeCommit message (Expand)Author
2022-02-10Float literals - fix main primitives to use .flawnjelly
2022-02-09Fix Vector2 and Vector2i coord access via operator[]Bartłomiej T. Listwon
2022-02-06Fix integer vector mul/div operators and bindings.reduz
2022-02-04Core: Move Vector2i to its own `vector2i.h` headerRémi Verschelde
2022-01-20Add nodiscard to core math classes to catch c++ errors.lawnjelly
2022-01-07Merge pull request #53618 from aaronfranke/signed-angle-vec3iRémi Verschelde
2022-01-06Allow Vector2/3 slerp values to have any lengthAaron Franke
2022-01-06Add length and length_squared to Vector2i/3iAaron Franke
2022-01-03Update copyright statements to 2022Rémi Verschelde
2021-12-02Expose max_axis_index and max_axis_index for Vector2(i)Aaron Franke
2021-11-16Rename built-in `SGN()` macro to `SIGN()`Hugo Locurcio
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-07-21Add min_axis and max_axis to Vector2iGilles Roudière
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-10Dynamic BVH broadphase in 2D & 3D Godot PhysicsPouleyKetchoupp
2021-05-07Rework the TileSet resource and TileMap nodes:Gilles Roudière
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-28Merge pull request #44149 from madmiraal/rename-tangent-orthogonalRémi Verschelde
2020-12-07Improve argument names for core typesAaron Franke
2020-12-06Rename Vector2.tangent() to Vector2.orthogonal()Marcel Admiraal
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
2020-11-06Refactored Variant Operators.reduz
2020-10-09Implement GPU Particle Collisionsreduz
2020-09-17Allow commutative multiplication in VariantGeorge Marques
2020-09-08Change inequality comparison operators to use exact equalityAaron Franke
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-05-14Port member initialization from constructor to declaration (C++11)Rémi Verschelde
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-21Improve the Vector2 rotated codeAaron Franke
2020-02-22Add support for Vector2i, Rect2i and Vector3i to VariantJuan Linietsky
2020-01-24Add explanations for errors related to Vector/Quat normalizationHugo Locurcio
2020-01-01Update copyright statements to 2020Rémi Verschelde
2019-10-14Expose is_equal_approx and restore == to be exact againAaron Franke
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-04-25[Core] Approximate equalityAaron Franke
2019-04-19Added ability for multiple images to be imported as an atlasJuan Linietsky
2019-04-05Added direction_to method to vectorsChaosus
2019-01-01Update copyright statements to 2019Rémi Verschelde
2018-10-06Remove redundant "== false" codeAaron Franke
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
2018-08-16add project method to Vector2/3Thomas Herzog
2018-08-11[Core] Move Vector2i and Rect2i out of math_2d.hAaron Franke