Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-04 | Add a test suite for `Math::` namespace functions | Hendrik Brucker | |
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> | |||
2022-11-02 | Allow getting Quaternion rotation in different Euler orders | Aaron Franke | |
2022-11-02 | Merge pull request #66747 from aaronfranke/move-euler-order | Rémi Verschelde | |
Move EulerOrder enum to math_defs.h and global scope | |||
2022-11-02 | Move EulerOrder enum to math_defs.h and global scope | Aaron Franke | |
2022-11-02 | Style: Misc docs and comment style and language fixes | Rémi Verschelde | |
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`. | |||
2022-11-01 | Replace Quaternion Euler constructor with `from_euler` method | Aaron Franke | |
2022-10-27 | Simplify Euler order test code in test_basis.h | Aaron Franke | |
2022-10-21 | Clean up Basis from Euler code | Aaron Franke | |
2022-10-08 | Add `is_finite` method for checking built-in types | Haoyu Qiu | |
2022-10-03 | Merge pull request #66133 from aaronfranke/set-all | Rémi Verschelde | |
Delete `set_all`, `set_axis`, and `get_axis` methods from Vector2/3/3i/4/4i | |||
2022-09-30 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though). | |||
2022-09-25 | Add more tests for Vector* types | Micky | |
2022-09-19 | Remove set_axis and get_axis methods from Vector2/2i/3/3i/4/4i | Aaron Franke | |
2022-09-14 | Test, refactor and fix a bug in Basis.get_axis_angle | fabriceci | |
2022-09-04 | Replace Rect2(i) has_no_area with has_area | Aaron Franke | |
2022-09-04 | Replace AABB has_no_volume with has_volume | Aaron Franke | |
Also replace has_no_surface with has_surface | |||
2022-08-30 | Fix Geometry3D::get_closest_points_between_segments() returns NaN | Marcel Admiraal | |
Also fix: - Geometry3D::get_closest_distance_between_segments() returning incorrect values. - Test for Geometry3D::get_closest_distance_between_segments() testing for an incorrect value. | |||
2022-08-26 | Rename `str2var` to `str_to_var` and similar | Micky | |
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict` | |||
2022-08-09 | vector4 distance_squared_to and update csharp | antonWetzel | |
2022-08-07 | Vector4/Vector4i: Add missing methods, tests and fix change of sign operator | Hendrik Brucker | |
2022-08-04 | Tests: Silence some intentional errors | Rémi Verschelde | |
Also fix printing messages in ClassDB test. | |||
2022-08-04 | Add tests file for Quaternion unit tests, with initial UTs | codepatzer | |
- Test constructors and quaternion product. - Add test case for Axis-Angle construction about Y-axis. - Add test case for xform of i-, j-, & k-unit vectors. - Add test case for construction from Basis. - Add test case for xform of arbitrary vector. - Add stress test case: many Quaternions xform many vectors. - Make comments consistent with style guide. | |||
2022-08-02 | Fix consistency of translated/scaled/rotated in Transform2D and Transform3D | Fabian Keller | |
2022-07-25 | Code quality: Fix header guards consistency | Rémi Verschelde | |
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards. | |||
2022-07-05 | Implemented tests for Plane getters and setters. | cabinboy1031 | |
Added tests for intersection and plane-point methods. | |||
2022-06-16 | Make AStar to use 64-bit logic | Yuri Rubinsky | |
2022-05-10 | Merge pull request #59643 from kneejuicer/geometry2D-tests | Rémi Verschelde | |
Add extra unit tests for Geometry2D | |||
2022-05-03 | Rename Basis get_axis to get_column, remove redundant methods | Aaron Franke | |
2022-04-13 | Color: Rename `to_srgb`/`to_linear` to include base color space | Rémi Verschelde | |
This helps reduce confusion around sRGB <> Linear conversions by making both input and output color spaces explicit. | |||
2022-04-07 | Remove unused legacy tests | Rémi Verschelde | |
They haven't been updated for years and still use the old MainLoop basic framework instead of the new doctest one. They're of dubious quality and best redone from scratch using the new framework. | |||
2022-04-04 | Zero initialize all pointer class and struct members | Rémi Verschelde | |
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr. | |||
2022-03-29 | Add extra unit tests for Geometry2D | kneejuicer | |
2022-03-28 | Expose Color's `to_linear()` and `to_srgb()` to scripting | Hugo Locurcio | |
2022-03-20 | Rename `AStar` to `AStar3D` | Yuri Roubinsky | |
2022-03-17 | Update color constants to use HEX codes | taigi100 | |
2022-03-12 | Fix Slerp C# docs and add test cases for vectors in the same direction | Aaron Franke | |
2022-02-10 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists. | |||
2022-02-05 | Merge pull request #57620 from Haydoggo/expression-exp-fix | Rémi Verschelde | |
Fix Expression's parsing of positive exponent literals | |||
2022-02-05 | Make parser treat all exponent literals as float | Hayden | |
2022-02-04 | Core: Move Vector2i to its own `vector2i.h` header | Rémi Verschelde | |
Also reduce interdependencies and clean up a bit. | |||
2022-02-04 | Core: Move Rect2i to its own `rect2i.h` header | Rémi Verschelde | |
And take the opportunity to improve interdependencies a bit with forward declares where possible. | |||
2022-02-04 | Cleanup and move char functions to the `char_utils.h` header. | bruvzg | |
2022-01-31 | Fix incorrect Rect2i calculations: intersects and encloses | Markus Sauermann | |
Clarify expand documentation | |||
2022-01-15 | Replace String::num_real code with a wrapper around String::num | Aaron Franke | |
2022-01-14 | Add tests for Vector2/Vector2i/Vector3/Vector3i | Aaron Franke | |
2022-01-13 | Fix various typos | luz paz | |
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew` | |||
2022-01-03 | Update copyright statements to 2022 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
2021-12-09 | Replace String comparisons with "", String() to is_empty() | Nathan Franke | |
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | |||
2021-12-02 | AABB: Improve docs and test for `has_point` | Rémi Verschelde | |
Contrarily to the 2D Rect2i counterpart, it doesn't make much sense in 3D and for floating-point AABBs to exclude points on some of its faces. | |||
2021-11-11 | Rect2: Clarify docs for `has_point` excluding bottom and right borders | Rémi Verschelde | |
Improve tests, as well as documentation for `expand`. |