summaryrefslogtreecommitdiffstats
path: root/doc/classes/Vector3.xml
Commit message (Collapse)AuthorAgeFilesLines
* Rebranding: Doc/Dubhghlas McLaughlin2024-10-171-1/+1
|
* fix: change "Godot" to "Redot"Muhannad Elbolaky2024-10-151-1/+1
| | | | Trying to change "Godot" to "Redot" in the doc context while acknowledging the reference to previous Godot versions like Godot 3.X.
* Fix description of `Vector2/3.dot`shak22024-06-151-1/+1
| | | | A 90 degree angle is a right angle.
* Clarify the results of VectorN.normalized() in the docsGrahame Watt2024-06-031-1/+1
|
* 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
* Update the description and parameter name for Vector3 reflect to correct how ↵clayjohn2024-04-301-3/+3
| | | | the plane is constructed
* Clarify bounce and reflect docs and update param namesclayjohn2024-04-101-3/+5
|
* Merge pull request #90310 from mhilbrunner/OutdatedDemosRémi Verschelde2024-04-081-1/+1
|\ | | | | | | Update links to outdated asset library demos
| * Update links to outdated asset library demosskyace652024-04-071-1/+1
| | | | | | | | | | | | Update links to outdated asset library demos Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com>
* | [Doc] Clarify the behavior of `Vector2/3.cross` and mention parallel vectorsA Thousand Ships2024-04-061-0/+1
|/
* Overhaul some "uncommon" wording in class referenceMicky2024-03-011-1/+1
|
* Merge pull request #83691 from theraot/slidedocsRémi Verschelde2024-02-261-2/+4
|\ | | | | | | Expanded documentation for vector slide and project
| * Expanded documentation for vector slide and projectTheraot2023-10-231-2/+4
| |
* | Add keywords to improve search in the class referenceHugo Locurcio2024-02-221-4/+4
|/
* Clarify C# docs for operators performing xform_invkleonc2023-10-171-1/+1
|
* Clarify docs for operators performing `xform_inv`kleonc2023-10-161-2/+7
|
* Validate `code` tags for class and member referencesYuri Sizov2023-10-031-1/+1
| | | | | | | | This commit also adds means to manually disable warnings in `code` tags where it's a false positive with the new `skip-lint` attribute. Warnings are now enabled on CI to prevent future errors.
* 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'
* Add more info on the nature of NANNinni Pipping2023-05-301-0/+6
|
* Merge pull request #76526 from MewPurPur/improve-docs-top-sections-COREYuri Sizov2023-05-291-2/+2
|\ | | | | Overhaul the top sections of the class reference (Core classes)
| * Overhaul the top sections of the class reference (Core classes)VolTer2023-05-191-2/+2
| |
* | Add the ability to look-at in model-space.Juan Linietsky2023-05-241-1/+19
|/ | | | | | | | | | This is a much simpler attempt to solve the same problem as #76060, but without breaking any compatibility. * Adds a description of what model space is in the Vector3 enums (MODEL_* constants). This has the proper axes laid out for imported 3D assets. * Adds the option to `look_at` using model_space, which uses Vector3.MODEL_FRONT as forward vector. The attempt of this PR is to still break the assumption that there is a single direction of forward (which is not the case in Godot) and make it easier to understand where 3D models are facing, as well as orienting them via look_at.
* Fix typos and inconsistencies in classrefHaoyu Qiu2023-03-271-1/+1
| | | | | | | | | | | * Typo fixes. * Navigation agent's `velocity_computed` signal is not emitted by `set_velocity`, but at the end of that frame if `set_velocity` is called. * Simplify link in navigation agent's `avoidance_enabled` description. * Unify `navigation_layers` description across `NavigationAgent{2,3}D`. * Unify `is_normalized()` description across `Vector2`, `Vector3`, and `Vector4`
* Improve Vector2 / 3 / 4 normalized() classref.lawnjelly2023-03-161-0/+1
| | | | Mention that the results will be unreliable with initial vector near zero.
* Fix typos and inconsistencies in classrefHaoyu Qiu2023-03-161-2/+2
|
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Rename `float=64` SCons option to `precision=double`Hugo Locurcio2022-12-101-1/+1
| | | | | This avoids confusion with the old `bits=64` option and building for 64-bit CPUs in general.
* Refactor baking code for Curve2DYaohua Xiong2022-12-051-2/+2
| | | | | | | | | 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.
* Merge pull request #68386 from MewPurPur/snappedi-snappedfRémi Verschelde2022-11-241-6/+6
|\ | | | | | | Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
| * Implement snappedi, snappedf, and Vector[2/3/4]i.snappedVolTer2022-11-191-6/+6
| |
* | Refactor Curve3D::_bake() methodYaohua Xiong2022-11-241-0/+10
| | | | | | | | | | | | | | | | | | | | 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;
* | Document that Vector classes are 32-bitJonathan Nicholl2022-11-121-1/+2
|/
* Document the Vector3 and Vector4i classesHugo Locurcio2022-10-271-2/+6
|
* Add `is_finite` method for checking built-in typesHaoyu Qiu2022-10-081-0/+6
|
* Add `is_zero_approx` methods to `Vector2`, `3`, and `4`Jonathan Nicholl2022-09-021-0/+7
|
* Make `cubic_interpolate()` consider key time in animationSilc Renew2022-08-191-0/+14
|
* [doc] Use "param" instead of "code" to refer to parametersAndy Maloney2022-08-091-25/+25
| | | | Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-60/+60
|
* Refactor bezier interpolation functionsHendrik Brucker2022-06-271-0/+10
|
* Core: Rename math 'phi' arguments to 'angle'Rémi Verschelde2022-05-051-3/+3
|
* Changed "pair" to "triplet" in Vector3 definitionGTcreyon2022-04-231-1/+1
|
* 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.
* Allow Vector2/3 slerp values to have any lengthAaron Franke2022-01-061-1/+1
|
* Unify similar method descriptionsHaoyu Qiu2022-01-061-5/+5
| | | | | | | | | | 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 :)
* Merge pull request #55500 from KoBeWi/just_doc_thingsMax Hilbrunner2021-12-061-1/+1
|\ | | | | Misc improvements to various docs
| * Misc improvements to various docskobewi2021-11-301-1/+1
| |
* | Expose max_axis_index and max_axis_index for Vector2(i)Aaron Franke2021-12-021-7/+7
| | | | | | | | Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints).