summaryrefslogtreecommitdiff
path: root/doc/classes/Vector2.xml
AgeCommit message (Collapse)Author
2022-05-05Core: Rename math 'phi' arguments to 'angle'Rémi Verschelde
2022-03-14Remove generating of null comparison operators from documentationYuri Roubinsky
2022-02-15Add an XML schema for documentationHugo 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-11Explain what 2D cross product meansHaoyu Qiu
2022-01-07i18n: Sync classref translations with current 3.x codebaseRémi Verschelde
(cherry picked from commit defb8011200f3ff908dd432cdbc095e4665677ef)
2022-01-06Allow Vector2/3 slerp values to have any lengthAaron Franke
2022-01-06Unify similar method descriptionsHaoyu 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-02Merge pull request #53020 from Lertsenem/doc/fix_vector2_reflectMax Hilbrunner
Fix error in Vector2.reflect() description
2021-12-06Merge pull request #55500 from KoBeWi/just_doc_thingsMax Hilbrunner
Misc improvements to various docs
2021-12-02Expose 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-01Rename Vector parameters to be consistentRaul Santos
Renames parameters that were named differently across different scripting languages or their documentation to use the same name everywhere.
2021-11-30Misc improvements to various docskobewi
2021-11-29Enable sorting of operator methods in class documentation.Marcel Admiraal
2021-11-16Merge pull request #54581 from aaronfranke/operator-docsRémi Verschelde
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde
2021-11-09Fix Vector2.angle_to_point() being reversedTomasz Chabora
2021-11-04Add documentation to operators for math typesAaron Franke
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2021-10-29Move the docs for constructors and operators out of methods sectionAaron Franke
2021-10-06doc: Update links to latest documentation after content reorganizationRémi Verschelde
2021-09-24Fix error in Vector2.reflect() descriptionLertsenem
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-17Allow comparing equality between builtin types and nullGeorge Marques
2021-09-15Merge pull request #52628 from mechPenSketch/imgages_in_docsMax Hilbrunner
Add Graph Illustrations to Doc
2021-09-13Add Graph Illustrations to DocmechPenSketch
2021-08-31Add Vector2.from_angle() methodkobewi
2021-07-30doc: 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-25Implement native extension systemreduz
* 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-18Better format arguments in variant parserMichael Alexsander Silva Dias
2021-06-03Allow clamping vectors and colorsAaron Franke
2021-06-03Rename Vector2 clamped to limit_length and add limit_length to Vector3Aaron Franke
2021-04-23Docs: Minor argument names fixkleonc
2021-03-18doc: Sync classref with current sourceRémi Verschelde
And move GLTF docs to its module folder.
2021-01-04doc: Sync classref with current sourceRémi Verschelde
2020-12-28Merge pull request #44586 from madmiraal/rename-stepifyRémi Verschelde
Rename Math::stepify to snapped
2020-12-28Merge pull request #44149 from madmiraal/rename-tangent-orthogonalRémi Verschelde
Rename Vector2.tangent() to Vector2.orthogonal()
2020-12-28Rename Math::stepify to snappedMarcel Admiraal
2020-12-15Added a note describing a code behind Vector2/3.direction_toYuri Roubinsky
2020-12-07Improve argument names for core typesAaron Franke
2020-12-06Rename Vector2.tangent() to Vector2.orthogonal()Marcel Admiraal
2020-11-10doc: Sync classref to add operators after #43419Rémi Verschelde
2020-11-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-10-01Link to demos from within the class referenceAaron Franke
2020-09-25Surrounds boolean false with code tagHaoyu Qiu
2020-08-31Add link titles for all links in the class referenceHugo Locurcio
This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
2020-08-05Improve Vector2.angle() descriptionTomasz Chabora
2020-07-21Update core documentation to match recent C# changesAaron Franke
Also a few minor API changes like adding AABB.abs() Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-07-20Document `Vector2.dot()` and `Vector3.dot()` more extensivelyHugo Locurcio
These methods are commonly used in games. It's time to make the documentation more explicit about them :)
2020-07-02Fix incorrect documentation for Vector2.angle()Aaron Franke
2020-06-21Document how Vector2, Vector3 and Color behave in a boolean contextHugo Locurcio
See #39731.
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke