summaryrefslogtreecommitdiff
path: root/core/math
AgeCommit message (Collapse)Author
2019-11-07Merge pull request #32477 from aaronfranke/equal-approx-separateRémi Verschelde
Make is_equal_approx separate and make == exact again
2019-11-07Merge pull request #30556 from kawa-yoiko/astar-directedRémi Verschelde
Improve support for directed graphs in A*; docs update included
2019-10-31Fix "seperate" typosAaron Franke
2019-10-14Expose is_equal_approx and restore == to be exact againAaron Franke
This commit changes behavior for GDScript and C#. Also did some organizing of the order to logically group related methods, mostly for Rect2 and AABB.
2019-10-14Replace vector == and is_zero_approx(distance) with is_equal_approxAaron Franke
Internal changes only
2019-10-14Make is_equal_approx separate for structuresAaron Franke
This commit adds exposed behavior for C#
2019-10-08[Mono] Change Plane intersect methods to return nullable Vector3Aaron Franke
2019-10-08Merge pull request #32478 from AlexHolly/fix-rect2-enclosesRémi Verschelde
Make Rect2.encloses return true on same size
2019-10-08Remove circular include between core/typedefs.h and core/error_macros.hMarcel Admiraal
2019-10-07Remove circular dependency between Vector3 and Basis.Marcel Admiraal
2019-10-02Make Rect2.encloses return true on same sizeAlexander Holland
2019-09-28Reduce memory usage for edges in A* and add testsShiqing
2019-09-27Merge pull request #32249 from hbina/a_star_ignore_disabledRémi Verschelde
Add option to consider disable points
2019-09-27Add option to consider disable pointsHanif Bin Ariffin
Previously, disabled points will not be considered when performing get_closest_point. This commit changes that by introducing an additional flag for this behavior. Related issue: #31814
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-24Fix copyright headers and style issuesRémi Verschelde
2019-09-23Merge pull request #32275 from godotengine/skin_supportRémi Verschelde
Added skin support and simplified APIs to override bone position + glTF 2.0 import fixes
2019-09-22Changed some code found by Clang Tidy and Coverityqarmin
2019-09-20GLTF2 Import Fixes - Skin(s) to Skeleton - Skin SupportMarios Staikopoulos
2019-09-11Improve support for directed graphs in AStarShiqing
2019-09-03Merge pull request #31756 from raphael10241024/fast_aabb_transformRémi Verschelde
a faster function to transform aabb
2019-09-01Check for exact equality before approximate equalityAaron Franke
2019-09-01Remove redundant transform method in Geometry singletonAndrii Doroshenko (Xrayez)
Transform2D's xform method can be used instead which handles `PoolVector2Array` now (as well as 3D version).
2019-09-01Merge pull request #31761 from Xrayez/trans2d-vector2arrayRémi Verschelde
Add transform methods for PoolVector*Array
2019-09-01Merge pull request #31667 from YeldhamDev/geometry_point_circle_cleanupRémi Verschelde
Add 'is_point_in_circle()' to Geometry class, and general file cleanup
2019-08-29Add transform methods for PoolVector*ArrayAndrii Doroshenko (Xrayez)
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.
2019-08-29a faster funtion to transform aabbRaphaelHunter
2019-08-27[Mono] Various Color improvementsAaron Franke
I also slid in a fix to C++ Vector3 > and >=
2019-08-27Add 'is_point_in_circle()' to Geometry class, and general file cleanupMichael Alexsander Silva Dias
2019-08-27allow to reserve space in OAHashMap explicitly and also in AStar.Robin Hübner
* also handle overflow occurring in _get_probe_length
2019-08-23Merge pull request #31094 from aaronfranke/vector-sign-mod-etcRémi Verschelde
Add Vector2/3 sign and posmod functions, axis, docs, misc additions
2019-08-21Merge pull request #29871 from Faless/crypto/initial_prRémi Verschelde
More Crypto, SSL server, crt/key as Resource, HashingContext
2019-08-21Merge pull request #31402 from profan/perf/astar-improvementsRémi Verschelde
A* performance improvements, use OAHashMap.
2019-08-21astar performance improvements, use oahashmapRobin Hübner
2019-08-20Merge pull request #31395 from ptrojahn/floatsarenastyRémi Verschelde
Replace is_zero_approx(A.distance_to(B)) with A==B
2019-08-19Replace is_zero_approx(A.distance_to(B)) with A==BPaul Trojahn
Related to #22988 (Fixes the holes in the shape of the first comment)
2019-08-19Move CryptoCore to it's own folder.Fabio Alessandrelli
Crypto classes will be placed in core/crypto.
2019-08-19Fix CryptoCore signatures, add SHA1 context.Fabio Alessandrelli
Fix hash size in SHA256 signature Fix source parameter in hash context update function to be const. Add SHA1 hash context.
2019-08-17Add Vector2/3 sign and posmod functions, misc additionsAaron Franke
Also make the docs more consistent, add Axis enum to Vector2, add > and >=. and C# also gets % and an override for vector-vector mod.
2019-08-17Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily
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?)
2019-08-14Merge pull request #31266 from ↵Rémi Verschelde
IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
2019-08-13remove unused self list include from astarRobin Hübner
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-09Add Basis constants and format Transform constantsAaron Franke
2019-08-04[Core] [Mono] Optimize Wrap functionsAaron Franke
Use is_zero_approx(), avoid a negative, and also rename "rng" to "range".
2019-07-25Merge pull request #30776 from akien-mga/editor-configurable-float-stepRémi Verschelde
Inspector: Make default float step configurable
2019-07-23Update some dead links in the codebaseMichael Alexsander Silva Dias
2019-07-23Inspector: Make default float step configurableRémi Verschelde
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.
2019-07-20Merge pull request #30693 from Chaosus/lerp_angleRémi Verschelde
Added lerp_angle built-in function