Age | Commit message (Collapse) | Author |
|
|
|
a faster function to transform aabb
|
|
|
|
Transform2D's xform method can be used instead which handles
`PoolVector2Array` now (as well as 3D version).
|
|
Add transform methods for PoolVector*Array
|
|
Add 'is_point_in_circle()' to Geometry class, and general file cleanup
|
|
Similarly to `Vector2` and `Rect2` transforms in 2D and Vector3, Plane,
and AABB in 3D. PoolVector2Array and PoolVector3Array were the only
missing Variant types in both Transform2D and Transform respectively.
|
|
|
|
I also slid in a fix to C++ Vector3 > and >=
|
|
|
|
* also handle overflow occurring in _get_probe_length
|
|
Add Vector2/3 sign and posmod functions, axis, docs, misc additions
|
|
More Crypto, SSL server, crt/key as Resource, HashingContext
|
|
A* performance improvements, use OAHashMap.
|
|
|
|
Replace is_zero_approx(A.distance_to(B)) with A==B
|
|
Related to #22988 (Fixes the holes in the shape of
the first comment)
|
|
Crypto classes will be placed in core/crypto.
|
|
Fix hash size in SHA256 signature
Fix source parameter in hash context update function to be const.
Add SHA1 hash context.
|
|
Also make the docs more consistent, add Axis enum to Vector2, add > and >=. and C# also gets % and an override for vector-vector mod.
|
|
Condensed some if and ERR statements. Added dots to end of error messages
Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?),
core/os/memory.cpp,
drivers/png/png_driver_common.cpp,
drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
|
|
IAmActuallyCthulhu/pr/remove-redundant-author-comments
Remove redundant author doc comments
|
|
|
|
|
|
|
|
Use is_zero_approx(), avoid a negative, and also rename "rng" to "range".
|
|
Inspector: Make default float step configurable
|
|
|
|
Also allow lifting the decimal step formatting with a hint range step
of 0. A new `range_step_decimals()` is added for this to avoid breaking
compatibility on the general purpose `step_decimals()` (which still
returns 0 for an input step of 0).
Supersedes #25470.
Partial fix for #18251.
|
|
Added lerp_angle built-in function
|
|
Changed some code reported by LGTM and Coverity
|
|
Co-authored-by: Xrayez <https://github.com/Xrayez>
Co-authored-by: DleanJeans <https://github.com/DleanJeans>
|
|
|
|
"posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator.
I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
|
|
when doing Vector3 slerp it is not necessary to have it normalized.
|
|
Pass by reference to const
|
|
|
|
Fixes #30431, regression from #30277.
|
|
Some small optimizations in core/math/geometry.h.
|
|
By combining all scalar factors we can get rid of a scalar * vector
multiplication and a square root operation, since the resulting formula
only uses the squared length.
|
|
For clarity, assign-to-release idiom for PoolVector::Read/Write
replaced with a function call.
Existing uses replaced (or removed if already handled by scope)
|
|
|
|
|
|
It's the recommended way to set those, and is more portable
(automatically prepends -D for GCC/Clang and /D for MSVC).
We still use CPPFLAGS for some pre-processor flags which are not
defines.
|
|
Godot core needs MD5/SHA256/AES/Base64 which used to be provided by
separate libraries.
Since we bundle mbedtls in most cases, and we can easily only include
the needed sources if we so desire, let's use it.
To simplify library changes in the future, and better isolate header
dependencies all functions have been wrapped around inside a class in
`core/math/crypto_base.h`.
If the mbedtls module is disabled, we only bundle the needed source
files independently of the `builtin_mbedtls` option.
If the module is enabled, the `builtin_mbedtls` option works as usual.
Also remove some unused headers from StreamPeerMbedTLS which were
causing build issues.
|
|
Remove unnecessary code and add some error explanations
|
|
|
|
AStar get_current_point enabled consideration
|
|
|
|
|