7dd2d24805
Fix sharing of typed arrays from constructor
...
(cherry picked from commit 41aa71f8c3 )
2024-07-17 09:58:09 -05:00
ca26922a19
Integrate .pre-commit-config.yaml
...
(cherry picked from commit e0d363aad8 )
2024-07-17 09:56:32 -05:00
11cd9a0727
[Math] Add is_finite methods
...
(cherry picked from commit d389171905 )
2024-05-17 16:54:00 -05:00
9e48c45bfc
Enforce template syntax typename over class
...
(cherry picked from commit 87f5fb0691 )
2024-04-08 11:39:21 -05:00
76d6ce7136
Avoid creating most objects that Godot is going to use placement new to initialize
...
(cherry picked from commit c4fde852e6 )
2024-04-08 11:30:23 -05:00
6202bf141e
Switch to 64-bit ints.
...
(cherry picked from commit 59a5a8b104 )
2024-03-11 12:59:19 -05:00
1c03aa7746
Add missing OP_POWER operator to Variant
...
(cherry picked from commit f037a697eb )
2024-01-22 15:53:49 -06:00
e8b6887b36
Add missing int→Variant conversions
...
(cherry picked from commit bcac96c8c2 )
2024-01-22 15:53:49 -06:00
03ea717742
Declare explicit specializations for CharStringT
...
(cherry picked from commit 6e05b978b8 )
2023-10-22 14:03:10 -05:00
857d8e3a56
Fix variant call compiler error
...
Co-authored-by: David Snopek <dsnopek@gmail.com >
(cherry picked from commit ca3e25de04 )
2023-10-09 08:43:23 -05:00
170a691a7e
Add remaining component-wise min/max functions to Vector*
...
(cherry picked from commit 52eb77efd4 )
2023-09-01 17:07:18 -05:00
011965d864
Attempt to fully implement CharString
...
(cherry picked from commit 4df112cd95 )
2023-08-10 09:06:09 -05:00
37f6e35974
Update typed array API to match "GDScript: Fix typed arrays".
2023-01-31 11:28:55 +02:00
2a9b21e46a
Merge pull request #1004 from asmaloney/remove-unused-ucaps
...
Remove unused ucaps header
2023-01-19 13:55:29 +01:00
67be0c95e1
Remove unused ucaps header
...
These static structs were being included in every file string.hpp was included in...
Part of #999
2023-01-19 07:15:40 -05:00
abca497b72
Expose some low level functions and String operators.
2023-01-19 13:12:21 +02:00
cf3d995e8c
Merge pull request #997 from asmaloney/fix-shadow-eulerorder
...
Fix a shadowed enum (EulerOrder)
2023-01-18 18:36:21 +01:00
0dfe0d0166
Merge pull request #983 from rburing/variant_to_from_objectid
...
Add conversions between `Variant` and `ObjectID`
2023-01-18 11:41:57 +01:00
dbd43ac107
Fix a shadowed enum (EulerOrder)
...
Use the global constants.
2023-01-17 18:38:24 -05:00
931f1a3f34
Sync license copyright with upstream GH-70885
2023-01-10 16:15:31 +01:00
d4e1dfe5dc
Add conversions between Variant and ObjectID
2023-01-01 21:27:08 +01:00
bab247dcb6
Rename godot-headers to gdextension, move header to top folder
...
Changes the `<godot/gdextension_interface.h>` include to simply
`<gdextension_interface.h>`.
Refactor and better document the SCons and CMake logic around setting
the paths to the header and API JSON file.
2022-12-14 12:36:59 +01:00
c02e644679
Rename GDNative to GDExtension
...
Non-exhaustive list of case-sensitive renames:
GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension -> Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION -> EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:06:38 +01:00
fe86a94dcf
Fix const qualifier for parameters in GDExtension api functions
2022-12-03 00:27:07 +01:00
c7e34c2f9d
Basic static analysis fixes
...
- remove extraneous semicolons
- use "nullptr" instead of "0"
- remove "break" after "return"
- use <cstdio> instead of <stdio.h>
2022-11-18 17:46:13 -05:00
1858e349c8
Update named colors to be in sync with the engine
2022-11-12 00:31:06 -06:00
592bd15c7a
Run scripts to format and make headers consistent
2022-10-09 01:47:07 -05:00
65eeb94f75
Update core data structures to match the engine
2022-10-07 11:27:41 -05:00
0455f72ede
Use struct instead of class for core structures
2022-10-05 01:46:15 -05:00
d25cae9b61
Merge pull request #859 from aaronfranke/basis-transform-quat
...
Update Basis/Transform3D/Quaternion to match the engine
2022-10-04 16:39:46 +02:00
fc879c04c8
Update Vector4/4i to match the engine
2022-10-01 21:09:05 -05:00
d479208a8f
Update Vector2/2i/3/3i to match the engine
2022-10-01 21:09:05 -05:00
c001d0e5c7
Implement support for typed arrays.
2022-09-23 09:02:00 +03:00
e83d472c00
Update Basis/Transform3D/Quaternion to match the engine
2022-09-20 01:07:45 -05:00
e26a75cd0c
Rename Basis "elements" to "rows"
...
https://github.com/godotengine/godot/pull/60627
2022-09-19 18:22:52 -05:00
e30c858c5d
Rename Transform2D "elements" to "columns"
...
https://github.com/godotengine/godot/pull/60627
2022-09-19 18:22:52 -05:00
3450a1ab16
Merge pull request #847 from ninfur/issue-65997
...
Add missing Vector4 function bindings
2022-09-19 09:31:23 +02:00
03d1120d6a
Merge pull request #850 from Zylann/transform_local
...
Add Transform3D `translated_local`, `rotated_local`, `scaled_local`
2022-09-19 09:30:11 +02:00
c543a3cbe1
Add Transform3D translated_local, rotated_local, scaled_local
2022-09-18 23:04:38 +01:00
a35994ce7b
Use quaternion instead of quat in method names
2022-09-18 22:44:18 +01:00
e7372cbe85
Add missing Vector4 function bindings
2022-09-18 11:27:49 +02:00
6d1073d867
Basis constructor: row vectors -> column vectors
...
https://github.com/godotengine/godot-proposals/issues/5295
2022-08-31 19:06:07 -07:00
91c56a0ad1
Add bindings for Vector4, Vector4i, Projection built-in types.
2022-07-21 09:36:38 +03:00
e3119e7d05
Sync containers with new HashMap/HashSet, sync API headers.
2022-06-06 12:18:07 +03:00
e06d5cd414
Add double precision build support.
2022-05-04 15:56:35 +03:00
24f5cd2d48
Color: Rename to_srgb/to_linear to include base color space
...
Counterpart to https://github.com/godotengine/godot/pull/60199 .
Also syncs the extension API with that PR.
2022-04-13 12:50:21 +02:00
1632322ce0
Update copyright year
2022-03-15 10:17:53 +01:00
76bad22978
Merge pull request #701 from bruvzg/port_templates
2022-02-21 11:25:40 +01:00
7e3321d1b2
Use forward declares for vector math types
...
Adds operators to convert from int vector types to float vector types
as done in the upstream engine implementations.
2022-02-20 12:04:08 +01:00
917b0c2ca3
Merge pull request #688 from zhehangd/master
2022-02-19 16:31:32 +01:00