Commit Graph

8116 Commits

Author SHA1 Message Date
fe45774f59 Fix misleading description of MeshDataTool.get_vertex() method 2023-08-31 21:13:34 -03:00
528a76486c Add inverse hyperbolic functions asinh(), acosh() & atanh()
GDScript has the following built-in trigonometry functions:

- `sin()`
- `cos()`
- `tan()`
- `asin()`
- `acos()`
- `atan()`
- `atan()`
- `sinh()`
- `cosh()`
- `tanh()`

However, it lacks the hyperbolic arc (also known as inverse
hyperbolic) functions:

- `asinh()`
- `acosh()`
- `atanh()`

Implement them by just exposing the C++ Math library, but clamping
its values to the closest real defined value.
For the cosine, clamp input values lower than 1 to 1.
In the case of the tangent, where the limit value is infinite,
clamp it to -inf or +inf.

References #78377
Fixes godotengine/godot-proposals#7110
2023-09-01 01:27:56 +02:00
5030549c7b Add a note about create_tween() method of SceneTree class
Add note regarding SceneTree.create_tween() method behavior.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-08-31 17:50:15 -03:00
2fcfe99059 Fix typos in NavigationAgent3D documentation 2023-08-31 17:30:19 +08:00
35802374ac Add coloring for completion of vector components 2023-08-30 21:13:25 +03:00
d4465dbef4 Merge pull request #81084 from MewPurPur/improve-line2d-docs
Improve Line2D documentation
2023-08-30 08:46:15 +02:00
cfe9cd5cae Merge pull request #81126 from clayjohn/revert-dds-runtime
Revert "Implement loading DDS textures at run-time"
2023-08-29 18:42:56 +02:00
45aa5bfe3c Grammatical improvements for the RayCast 2D and 3D class references. 2023-08-29 16:33:45 +02:00
922689c801 Merge pull request #81127 from KoBeWi/errors_begone
Prevent errors if Tween callback's object is freed
2023-08-29 15:07:35 +02:00
76bc5a6554 Merge pull request #80859 from KoBeWi/prepare_for_action_and_make_it_double
Fix action state when multiple events are assigned
2023-08-29 15:06:02 +02:00
598d9972c8 Prevent errors if Tween callback's object is freed 2023-08-29 14:50:53 +02:00
0045dc204c Revert "Implement loading DDS textures at run-time"
This reverts commit 34ab1c8a36.
2023-08-29 14:25:16 +02:00
39f50da2ca Improve Line2D documentation 2023-08-29 15:02:26 +03:00
247c3548d8 Merge pull request #81097 from AcatXIo/grammar-enhancements
Some grammar and punctuation enhancements in the class reference.
2023-08-29 12:48:42 +02:00
8dfd9d39a6 Merge pull request #81093 from mateuseap/docs/objectClassReference
Improve `Object.get_property_list()` method description
2023-08-29 12:48:19 +02:00
c52c830c9f Merge pull request #81088 from mateuseap/docs/meshDataToolClassReference
Improve `MeshDataTool.get_face_vertex()` method description
2023-08-29 12:47:31 +02:00
f061200405 Merge pull request #80997 from MewPurPur/improve-xml-parser-docs
Improve XMLParser's documentation
2023-08-29 12:45:09 +02:00
bec94a6210 Merge pull request #80716 from ARez2/add-rd-method-descriptions
Add missing RenderingDevice method descriptions
2023-08-29 12:44:21 +02:00
4b69e8be85 Merge pull request #80688 from DarioSamo/gpu-particles-motion-vectors
Add motion vector support for GPU 3D Particles
2023-08-29 12:43:58 +02:00
76d318dbd1 Merge pull request #75778 from KoBeWi/_vp
Expose `_validate_property()` for scripting
2023-08-29 12:41:27 +02:00
91c5273ec5 Merge pull request #75656 from YuriSizov/core-iconic-builtins
Add a script method to get its class icon
2023-08-29 12:41:03 +02:00
bd4d43023d Add missing RenderingDevice method descriptions 2023-08-29 12:32:29 +02:00
6020e34757 Improve Object.get_property_list() method description 2023-08-29 07:11:11 -03:00
adb0d0ea58 Improve MeshDataTool.get_face_vertex() method description
Improve MeshDataTool.get_face_vertex() method description and also add an example code.

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-08-29 05:27:04 -03:00
637f10a3cd Some grammar and punctuation enhancements in the class reference. 2023-08-28 21:32:37 +02:00
ba1089689a Merge pull request #80954 from bruvzg/sp_per_font
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00
293302ccd8 Add motion vector support for GPU 3D Particles.
Add the capability of resizing the transforms buffer for particles to be double its size and alternate where the current output is written to. Only works for particles that use index as their draw order.
2023-08-28 10:56:02 -03:00
829ad86433 Improve XMLParser's documentation 2023-08-28 16:39:26 +03:00
67db4693eb Expose _validate_property() for scripting 2023-08-28 15:18:48 +02:00
52d41cc555 Add option to cleanup tiles outside the texture 2023-08-28 15:15:45 +02:00
cd5c007628 Merge pull request #81054 from AttackButton/core-os-keyboard_cpp
Add missing YEN, SECTION and OPENURL names to keycode mappings
2023-08-28 12:11:35 +02:00
75bc6866a4 Merge pull request #81037 from AThousandShips/openxr_register
Ensure OpenXR classes are declared properly
2023-08-28 12:09:47 +02:00
c23bd8b143 Ensure OpenXR classes are declared properly
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2023-08-28 09:37:04 +02:00
8908ac4e6e Add missing YEN, SECTION and OPENURL names to keycode mappings 2023-08-28 03:37:22 -03:00
f9435b6d72 Expose the get_rid method of Joint2D and Joint3D
update occurance of get_joint

Update documentation as per feedback.

update

update

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-08-27 00:34:47 +03:00
9819ffb166 Implement window center function. 2023-08-26 21:34:21 +03:00
ad1abca668 Fix action state when multiple events are assigned 2023-08-25 23:10:27 +02:00
e538843930 Merge pull request #80936 from curious-broccoli/fix-array-doc
Clarify Array class methods that return error
2023-08-25 14:59:00 +02:00
4b208fec74 Merge pull request #80884 from timothyqiu/typo-fixes
Fix various typos in classref
2023-08-25 14:58:47 +02:00
53af94ab33 Merge pull request #80475 from KoBeWi/that's_not_how_you_do_set
Fix example for `Object._set` documentation
2023-08-25 14:58:37 +02:00
e21ded8f8f Merge pull request #80450 from KoBeWi/settings_freeze,_no_more_changes
Deprecate `project_settings_changed` signal
2023-08-25 14:58:32 +02:00
07d23489f4 GUI: Fix text overlapping icon in Tree 2023-08-24 22:09:02 +03:00
e70b83c7a0 Expose finding valid focus neighbors of a Control by side
Exposes the functionality used for ui navigation
2023-08-24 18:25:35 +02:00
d8e7ce58ee Clarify Array class methods that return error
related to #47406
2023-08-24 14:11:56 +00:00
2c77f07aaa Add a script method to get its class icon
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-08-24 13:05:41 +02:00
5453503697 [Text Server] Store extra spacing of individual font variations. 2023-08-24 11:58:12 +03:00
d026b37abd Fix various typos in classref 2023-08-22 18:05:50 +08:00
6758a7f8c0 Merge pull request #80875 from Sauermann/fix-picking-doc
Document mouse-picking limit of 64 objects
2023-08-22 09:09:35 +02:00
0024d2e541 Merge pull request #80851 from vitormaduro/master
Updated C# example of AddPropertyInfo
2023-08-22 09:09:24 +02:00
765da0a365 Document mouse-picking limit of 64 objects 2023-08-22 08:45:55 +02:00