Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-04 | Added hex and bin literal support to Expression parser | Hayden Leete | |
fixed formatting | |||
2022-02-02 | Vectors: Use clear() and has(). | Anilforextra | |
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1". | |||
2022-02-01 | Merge pull request #57469 from Sauermann/fix-rect2i-intersect | Rémi Verschelde | |
2022-01-31 | Fix incorrect Rect2i calculations: intersects and encloses | Markus Sauermann | |
Clarify expand documentation | |||
2022-01-30 | Add support for the escaped UTF-16 and UTF-32 Unicode characters in the ↵ | bruvzg | |
scripts and expressions. | |||
2022-01-20 | Rename or refactor macros to avoid leading underscores | Omar Polo | |
These are not used consistently and some can conflict with system-specific defines. While here, also delete some unused macros. | |||
2022-01-20 | Add nodiscard to core math classes to catch c++ errors. | lawnjelly | |
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute. | |||
2022-01-14 | Remove zero size checks from Rect2 grow methods | Aaron Franke | |
2022-01-13 | Merge pull request #56740 from AnilBK/camera-pre-allocate | Rémi Verschelde | |
2022-01-13 | CameraMatrix: Pre-allocate Vector in get_projection_planes(). | Anilforextra | |
2022-01-12 | Merge pull request #56492 from akien-mga/remove-author-docstrings | Rémi Verschelde | |
2022-01-12 | Use List Initializations for Vectors. | Anilforextra | |
2022-01-07 | Merge pull request #53618 from aaronfranke/signed-angle-vec3i | Rémi Verschelde | |
Add length and length_squared to Vector2i/3i | |||
2022-01-07 | Merge pull request #55877 from aaronfranke/slerp-same-len | Rémi Verschelde | |
2022-01-07 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 2.1.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang ans ba curvelinear dof doubleclick fave findn gird inout leapyear lod merchantibility nd numer ois ony que readded seeked statics | |||
2022-01-06 | Allow Vector2/3 slerp values to have any length | Aaron Franke | |
2022-01-06 | Add length and length_squared to Vector2i/3i | Aaron Franke | |
2022-01-05 | Merge pull request #53684 from TokageItLab/orthogonal-mode | Rémi Verschelde | |
2022-01-04 | Style: Remove inconsistently used `@author` docstrings | Rémi Verschelde | |
Each file in Godot has had multiple contributors who co-authored it over the years, and the information of who was the original person to create that file is not very relevant, especially when used so inconsistently. `git blame` is a much better way to know who initially authored or later modified a given chunk of code, and most IDEs now have good integration to show this information. | |||
2022-01-03 | Update copyright statements to 2022 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
2021-12-25 | Fix some gizmo behavior to make more consistent | Silc 'Tokage' Renew | |
2021-12-19 | Fix variable name 'max_size' to 'min_size' in aabb | great90 | |
2021-12-18 | Fix font preview text color on light background | Haoyu Qiu | |
2021-12-09 | align to horizontal_alignment, valign to vertical_alignment, related | Nathan Franke | |
2021-12-02 | Expose max_axis_index and max_axis_index for Vector2(i) | Aaron Franke | |
Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints). | |||
2021-12-02 | Merge pull request #55474 from akien-mga/copy-operators-no-reference | Rémi Verschelde | |
2021-12-02 | Merge pull request #37626 from aaronfranke/rect2-warnings | Max Hilbrunner | |
Print warnings when using a Rect2 or AABB with a negative size | |||
2021-12-02 | Merge pull request #47294 from sebastian-heinz/patch-1 | Rémi Verschelde | |
2021-12-02 | Merge pull request #38604 from Calinou/astar-rename-get-point-ids | Rémi Verschelde | |
2021-12-02 | allow variant construction in expressions | sebastian-heinz | |
2021-12-01 | Rename Vector parameters to be consistent | Raul Santos | |
Renames parameters that were named differently across different scripting languages or their documentation to use the same name everywhere. | |||
2021-11-30 | Warn when using an AABB or Rect2 with a negative size | Aaron Franke | |
2021-11-30 | Rename `AStar.get_points()` to `AStar.get_point_ids()` for clarity | Hugo Locurcio | |
The same has been done for AStar2D as well. | |||
2021-11-30 | Don't return reference on copy assignment operators | Rémi Verschelde | |
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit). | |||
2021-11-23 | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | |
2021-11-17 | Merge pull request #55042 from nekomatata/fix-segment-intersection | Rémi Verschelde | |
2021-11-17 | Expose `randfn` to global scope | Yuri Roubinsky | |
2021-11-16 | Fix segment intersection in Geometry2D | PouleyKetchoupp | |
Doing a multiplication to reduce the amount of tests was causing precision which lead to 2D raycast detecting false positive contacts in some cases with convex polygons. | |||
2021-11-16 | Rename built-in `SGN()` macro to `SIGN()` | Hugo Locurcio | |
This matches the name of the GDScript function (except it's uppercase here). | |||
2021-11-15 | Merge pull request #43072 from KoBeWi/point_to_angle | Rémi Verschelde | |
2021-11-11 | Color: Bind `from_hsv` as static method | Rémi Verschelde | |
2021-11-09 | Merge pull request #53819 from TokageItLab/re-implement-ping-pong | Rémi Verschelde | |
Reimplement ping-pong animation and reverse playback | |||
2021-11-09 | Fix Vector2.angle_to_point() being reversed | Tomasz Chabora | |
2021-11-05 | Rename AABB `get_area` to `get_volume` | Brian Semrau | |
2021-11-04 | Fix Quaternion multiplication operator | Aaron Franke | |
2021-11-03 | reimplement ping-pong | Silc 'Tokage' Renew | |
2021-10-28 | clang-format: Enable `BreakBeforeTernaryOperators` | Rémi Verschelde | |
clang-format keeps breaking the way it handles break *after* ternary operators, so I give up and go with the only style they seem to actually test. | |||
2021-10-28 | clang-format: Various fixes to comments alignment from `clang-format` 13 | Rémi Verschelde | |
All reviewed manually and occasionally rewritten to avoid bad auto formatting. | |||
2021-10-28 | clang-format: Disable alignment of operands, too unreliable | Rémi Verschelde | |
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`. | |||
2021-10-25 | Refactored Node3D rotation modes | reduz | |
* Made the Basis euler orders indexed via enum. * Node3D has a new rotation_order property to choose Euler rotation order. * Node3D has also a rotation_mode property to choose between Euler, Quaternion and Basis Exposing these modes as well as the order makes Godot a lot friendlier for animators, which can choose the best way to interpolate rotations. The new *Basis* mode makes the (exposed) transform property obsolete, so it was removed (can still be accessed by code of course). |