Commit Graph

18 Commits

Author SHA1 Message Date
lawnjelly
22d90711da Make acos and asin safe
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.

The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.
2023-06-11 08:41:42 +02:00
276e4db381 Cleanups to Skeleton's bindings. 2023-04-15 13:58:24 +02:00
727826efba Make sure Skeletons set up their initial pose. 2023-04-15 13:52:21 +02:00
986565b0b4 Fix error spam in the skeleton editor. 2023-04-15 13:51:44 +02:00
2cd4e4d828 Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
227e32b67c Now modules make use of the new registration levels. 2023-01-15 17:04:00 +01:00
8075ef8e62 Added include guards to all module register_types.h-s. 2023-01-15 13:27:08 +01:00
e9a19c1a66 Added module initialization levels (similar idea to what's in godot4, although I added more). 2023-01-15 11:46:13 +01:00
fc991ede18 Re-extracted class docs. 2023-01-14 13:38:58 +01:00
213f393293 Fix typos with codespell. 2022-12-22 19:51:25 +01:00
311b5d446b Ported "[3.x] Fix wrong owner for editor plugin created nodes in instanced scene" for the skeleton editor aswell. 2022-11-30 14:33:08 +01:00
41f130d9fd Re-extracted the class docs. 2022-11-20 23:27:04 +01:00
b6624bf30b Re-extracted class docs. 2022-09-10 04:18:55 +02:00
b886d14cf5 Added _3d postfix to the end of the World3D related getters and setters in Viewport. 2022-08-29 17:54:41 +02:00
24a1580dbf Renamed the files aswell. 2022-08-29 17:33:10 +02:00
2aee6ab0bb Renamed World to World3D. 2022-08-29 16:49:00 +02:00
dc28777321 Moved Skeleton and it's related classes to a module. 2022-08-28 15:46:12 +02:00