summaryrefslogtreecommitdiff
path: root/doc/classes/Vector3.xml
AgeCommit message (Collapse)Author
2022-12-10Rename `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-05Refactor baking code for Curve2DYaohua 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-24Merge pull request #68386 from MewPurPur/snappedi-snappedfRémi Verschelde
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
2022-11-24Refactor Curve3D::_bake() methodYaohua 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-19Implement snappedi, snappedf, and Vector[2/3/4]i.snappedVolTer
2022-11-12Document that Vector classes are 32-bitJonathan Nicholl
2022-10-27Document the Vector3 and Vector4i classesHugo Locurcio
2022-10-08Add `is_finite` method for checking built-in typesHaoyu Qiu
2022-09-02Add `is_zero_approx` methods to `Vector2`, `3`, and `4`Jonathan Nicholl
2022-08-19Make `cubic_interpolate()` consider key time in animationSilc Renew
2022-08-09[doc] Use "param" instead of "code" to refer to parametersAndy Maloney
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-06-27Refactor bezier interpolation functionsHendrik Brucker
2022-05-05Core: Rename math 'phi' arguments to 'angle'Rémi Verschelde
2022-04-23Changed "pair" to "triplet" in Vector3 definitionGTcreyon
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-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 :)
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-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-21Implement Animation Compressionreduz
Roughly based on https://github.com/godotengine/godot-proposals/issues/3375 (used format is slightly different). * Implement bitwidth based animation compression (see animation.h for format). * Can compress imported animations up to 10 times. * Compression format opens the door to streaming. * Works transparently (happens all inside animation.h)
2021-10-06doc: Update links to latest documentation after content reorganizationRémi Verschelde
2021-09-17Merge pull request #52450 from aaronfranke/they-came-from-scaleRémi Verschelde
Replace Vector3.to_diagonal_matrix with Basis.from_scale
2021-09-17Allow comparing equality between builtin types and nullGeorge Marques
2021-09-17Replace Vector3.to_diagonal_matrix with Basis.from_scaleAaron Franke
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-04Rename Quat to QuaternionMarcel Admiraal
2021-06-03Merge pull request #38430 from aaronfranke/transform3dRémi Verschelde
2021-06-03Allow clamping vectors and colorsAaron Franke
2021-06-03Rename Vector2 clamped to limit_length and add limit_length to Vector3Aaron Franke
2021-06-03Update documentation for Transform3DAaron 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-02-16Added signed_angle_to for Vector3JestemStefan
2021-01-04doc: Sync classref with current sourceRémi Verschelde
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-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.