Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-10 | Rename `float=64` SCons option to `precision=double` | Hugo Locurcio | |
This avoids confusion with the old `bits=64` option and building for 64-bit CPUs in general. | |||
2022-12-05 | Refactor baking code for Curve2D | Yaohua Xiong | |
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. A similar refacor had been applied to Curve3D. The test cases for Curve2D is updated, comparing floating point with is_equal_approxmiate() instead of `==`, in order to avoid float precision problem. | |||
2022-11-24 | Merge pull request #68386 from MewPurPur/snappedi-snappedf | Rémi Verschelde | |
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped | |||
2022-11-24 | Refactor Curve3D::_bake() method | Yaohua Xiong | |
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. Other changes are: 1. Add an bezier_derivative() method for Vector3, Vector2, and Math; 2. Add an tesselate_even_length() method to Curve3D, which tesselate bezier curve to even length segments adaptively; 3. Cache the tangent vectors in baked_tangent_vector_cache; | |||
2022-11-19 | Implement snappedi, snappedf, and Vector[2/3/4]i.snapped | VolTer | |
2022-11-12 | Document that Vector classes are 32-bit | Jonathan Nicholl | |
2022-10-08 | Add `is_finite` method for checking built-in types | Haoyu Qiu | |
2022-09-02 | Add `is_zero_approx` methods to `Vector2`, `3`, and `4` | Jonathan Nicholl | |
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-19 | Make `cubic_interpolate()` consider key time in animation | Silc Renew | |
2022-08-09 | [doc] Use "param" instead of "code" to refer to parameters | Andy Maloney | |
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | |||
2022-08-08 | Rename the argument tag to param in XML documentation | Yuri Sizov | |
2022-06-27 | Refactor bezier interpolation functions | Hendrik Brucker | |
2022-05-05 | Core: Rename math 'phi' arguments to 'angle' | Rémi Verschelde | |
2022-03-14 | Remove generating of null comparison operators from documentation | Yuri Roubinsky | |
2022-02-15 | Add an XML schema for documentation | Hugo Locurcio | |
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions. | |||
2022-01-11 | Explain what 2D cross product means | Haoyu Qiu | |
2022-01-07 | i18n: Sync classref translations with current 3.x codebase | Rémi Verschelde | |
(cherry picked from commit defb8011200f3ff908dd432cdbc095e4665677ef) | |||
2022-01-06 | Allow Vector2/3 slerp values to have any length | Aaron Franke | |
2022-01-06 | Unify similar method descriptions | Haoyu Qiu | |
Notably: * `Packed*Array.size()` and `Array.size()`. * Shared methods of `Transform2D` and `Transform3D`. * Shared methods of `Vector2`, `Vector3`, and `Vector2i`. This reduces the Deja Vu when translating the class reference :) | |||
2022-01-02 | Merge pull request #53020 from Lertsenem/doc/fix_vector2_reflect | Max Hilbrunner | |
Fix error in Vector2.reflect() description | |||
2021-12-06 | Merge pull request #55500 from KoBeWi/just_doc_things | Max Hilbrunner | |
Misc improvements to various docs | |||
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-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 | Misc improvements to various docs | kobewi | |
2021-11-29 | Enable sorting of operator methods in class documentation. | Marcel Admiraal | |
2021-11-16 | Merge pull request #54581 from aaronfranke/operator-docs | Rémi Verschelde | |
2021-11-15 | Replace Godot docs URL with `$DOCS_URL` in XML class reference | Rémi Verschelde | |
2021-11-09 | Fix Vector2.angle_to_point() being reversed | Tomasz Chabora | |
2021-11-04 | Add documentation to operators for math types | Aaron Franke | |
Co-authored-by: Raul Santos <raulsntos@gmail.com> | |||
2021-10-29 | Move the docs for constructors and operators out of methods section | Aaron Franke | |
2021-10-06 | doc: Update links to latest documentation after content reorganization | Rémi Verschelde | |
2021-09-24 | Fix error in Vector2.reflect() description | Lertsenem | |
The description was probably copied from Vector3.reflect(), and unfortunately did not match the 2D behaviour (where n is apparently the direction vector of the symmetry line, not the normal). | |||
2021-09-17 | Allow comparing equality between builtin types and null | George Marques | |
2021-09-15 | Merge pull request #52628 from mechPenSketch/imgages_in_docs | Max Hilbrunner | |
Add Graph Illustrations to Doc | |||
2021-09-13 | Add Graph Illustrations to Doc | mechPenSketch | |
2021-08-31 | Add Vector2.from_angle() method | kobewi | |
2021-07-30 | doc: Use self-closing tags for `return` and `argument` | Rémi Verschelde | |
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there. | |||
2021-06-25 | Implement native extension system | reduz | |
* Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h | |||
2021-06-18 | Better format arguments in variant parser | Michael Alexsander Silva Dias | |
2021-06-03 | Allow clamping vectors and colors | Aaron Franke | |
2021-06-03 | Rename Vector2 clamped to limit_length and add limit_length to Vector3 | Aaron Franke | |
2021-04-23 | Docs: Minor argument names fix | kleonc | |
2021-03-18 | doc: Sync classref with current source | Rémi Verschelde | |
And move GLTF docs to its module folder. | |||
2021-01-04 | doc: Sync classref with current source | Rémi Verschelde | |
2020-12-28 | Merge pull request #44586 from madmiraal/rename-stepify | Rémi Verschelde | |
Rename Math::stepify to snapped | |||
2020-12-28 | Merge pull request #44149 from madmiraal/rename-tangent-orthogonal | Rémi Verschelde | |
Rename Vector2.tangent() to Vector2.orthogonal() | |||
2020-12-28 | Rename Math::stepify to snapped | Marcel Admiraal | |
2020-12-15 | Added a note describing a code behind Vector2/3.direction_to | Yuri Roubinsky | |
2020-12-07 | Improve argument names for core types | Aaron Franke | |