summaryrefslogtreecommitdiffstats
path: root/doc/classes/Vector2i.xml
Commit message (Collapse)AuthorAgeFilesLines
* Core: Fix built-in enum constant bindingsDanil Alexeev2024-11-221-2/+2
|
* Expose `Vector*` component-wise and scalar `min/max` to scriptingA Thousand Ships2024-05-021-0/+28
|
* [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`A Thousand Ships2024-05-021-0/+15
| | | | Convenience for a number of cases operating on single values
* Add keywords to improve search in the class referenceHugo Locurcio2024-02-221-1/+1
|
* Implement `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`Jakub Marcowski2023-10-121-0/+15
|
* Add Vector2/3/4i.MAX and MINkobewi2023-09-161-0/+6
|
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-061-1/+1
| | | | | | We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
* Bump version to 4.2-devRémi Verschelde2023-07-051-1/+1
| | | | Keep on waitin'
* Overhaul the top sections of the class reference (Core classes)VolTer2023-05-191-2/+2
|
* Remove double thes from documentationPaweł2023-04-171-1/+1
|
* C# Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversionkleonc2023-03-311-1/+1
|
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Merge pull request #68386 from MewPurPur/snappedi-snappedfRémi Verschelde2022-11-241-1/+8
|\ | | | | | | Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
| * Implement snappedi, snappedf, and Vector[2/3/4]i.snappedVolTer2022-11-191-1/+8
| |
* | Document that Vector classes are 32-bitJonathan Nicholl2022-11-121-1/+1
|/
* [doc] Use "param" instead of "code" to refer to parametersAndy Maloney2022-08-091-7/+7
| | | | Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-23/+23
|
* Remove generating of null comparison operators from documentationYuri Roubinsky2022-03-141-10/+0
|
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | 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.
* Fix integer vector mul/div operators and bindings.reduz2022-02-061-5/+5
| | | | | | | * Vector2i and Vector3i mul/div by a float results in Vector2 and Vector3 respectively. * Create specializations to allow proper bindings. This fixes #44408 and supersedes #44441 and keeps the same rule of int <op> float returnig float, like with scalars.
* Add length and length_squared to Vector2i/3iAaron Franke2022-01-061-0/+13
|
* Unify similar method descriptionsHaoyu Qiu2022-01-061-2/+2
| | | | | | | | | | 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 :)
* Expose max_axis_index and max_axis_index for Vector2(i)Aaron Franke2021-12-021-2/+14
| | | | Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints).
* Merge pull request #54581 from aaronfranke/operator-docsRémi Verschelde2021-11-161-0/+43
|\
| * Add documentation to operators for math typesAaron Franke2021-11-041-0/+43
| | | | | | | | Co-authored-by: Raul Santos <raulsntos@gmail.com>
* | Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde2021-11-151-2/+2
|/
* Move the docs for constructors and operators out of methods sectionAaron Franke2021-10-291-92/+96
|
* doc: Update links to latest documentation after content reorganizationRémi Verschelde2021-10-061-1/+1
|
* Allow comparing equality between builtin types and nullGeorge Marques2021-09-171-0/+10
|
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-100/+50
| | | | | | | | 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.
* Implement native extension systemreduz2021-06-251-12/+12
| | | | | | * 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
* Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-181-6/+6
|
* Allow clamping vectors and colorsAaron Franke2021-06-031-0/+11
|
* doc: Sync classref with current sourceRémi Verschelde2021-03-181-3/+3
| | | | And move GLTF docs to its module folder.
* doc: Sync classref to add operators after #43419Rémi Verschelde2020-11-101-4/+152
|
* Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde2020-11-091-4/+20
| | | | | Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
* Link to demos from within the class referenceAaron Franke2020-10-011-0/+2
|
* Add link titles for all links in the class referenceHugo Locurcio2020-08-311-1/+1
| | | | | This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
* Update core documentation to match recent C# changesAaron Franke2020-07-211-6/+6
| | | | | | Also a few minor API changes like adding AABB.abs() Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Document how Vector2, Vector3 and Color behave in a boolean contextHugo Locurcio2020-06-211-1/+2
| | | | See #39731.
* Fix docs generation for Vector2i/Vector3i/Rect2iYuri Roubinsky2020-06-031-0/+29
|
* Update docs and bindings for new integer vector typesRémi Verschelde2020-02-251-0/+61