summaryrefslogtreecommitdiffstats
path: root/tests/core/math
Commit message (Expand)AuthorAgeFilesLines
* Fix `Projection::invert` on orthogonal projections and others.Álex Román2024-10-221-0/+89
* Rebrand preambles to RedotDubhghlas McLaughlin2024-10-1121-0/+42
* Rebrand Godot to RedotRandolph W. Aarseth II2024-10-111-1/+1
* Merge pull request #93856 from timothyqiu/expression-periodRémi Verschelde2024-09-111-0/+53
|\
| * Fix parsing of `4.` in ExpressionHaoyu Qiu2024-07-021-0/+53
* | Simplify and fix Rect2/AABB get_support functionAaron Franke2024-08-192-7/+29
* | [Tests] Fix some invalid error messagesA Thousand Ships2024-07-101-9/+9
|/
* [Tests] Fix unit tests in template buildsA Thousand Ships2024-06-292-2/+6
* Merge pull request #90506 from Calinou/test-transform2d-add-more-testsRémi Verschelde2024-05-291-13/+97
|\
| * Add more unit tests for Transform2Dtitus1252024-04-101-13/+97
* | Fix AABB Ray intersection - return insidelawnjelly2024-05-091-0/+61
* | Style: Trim trailing whitespace and ensure newline at EOFRémi Verschelde2024-05-081-1/+1
* | Add notes for remap's return when istart and istop are the sameJoel Kuntz2024-05-071-0/+3
* | Replace Clipper1 library by Clipper2 libraryRicardo Buring2024-04-201-4/+4
* | Merge pull request #61013 from Calinou/test-add-transform3dRémi Verschelde2024-04-191-0/+29
|\ \
| * | Add rotation unit tests for Transform3DHugo Locurcio2024-04-101-0/+29
| |/
* / Add `closest_points_between_segments()` basis path tests for Geometry2DAlex Billedeaux2024-04-101-30/+56
|/
* Add unit test for Vector2 plane_projectnazarii2024-04-051-0/+4
* Fix some uses of float and real_t in core/mathAaron Franke2024-03-291-3/+3
* [Core] Fix `AABB.encloses` failing on shared upper boundA Thousand Ships2024-01-121-0/+9
* Merge pull request #83163 from Chubercik/vectorXi_dist_methodsRémi Verschelde2024-01-033-0/+18
|\
| * Implement `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`Jakub Marcowski2023-10-123-0/+18
* | Fix potential integer underflow in rounded up divisionsEddieBreeg2024-01-021-0/+23
* | Fix Basis is_orthogonal and is_rotation methods, add is_orthonormalAaron Franke2023-12-061-0/+94
|/
* Add rotate_toward and angle_difference to GDScript and C#etti2023-10-011-0/+36
* Merge pull request #79523 from aaronfranke/is-conformalRémi Verschelde2023-09-262-0/+60
|\
| * Add `is_conformal` method to Basis and Transform2DAaron Franke2023-09-132-0/+60
* | Simplify Geometry3D testsAaron Franke2023-09-251-287/+54
|/
* Fix sign(NAN) returning 1.AcatXIo2023-09-091-0/+2
* Add inverse hyperbolic functions `asinh()`, `acosh()` & `atanh()`Jcrespo2023-09-011-0/+31
* Merge pull request #76936 from clayjohn/revert-hslRémi Verschelde2023-05-121-14/+0
|\
| * Revert "Add API for HSL conversion"clayjohn2023-05-101-14/+0
* | Merge pull request #76906 from lawnjelly/safe_acos4_2Rémi Verschelde2023-05-111-4/+4
|\ \ | |/ |/|
| * Make acos and asin safelawnjelly2023-05-111-4/+4
* | Merge pull request #76830 from ajreckof/fix_wrapf_CI_with_too_big_floatRémi Verschelde2023-05-101-1/+1
|\ \ | |/ |/|
| * fix a test for wrapf with signed 32-bit floatajreckof2023-05-081-1/+1
* | Add API for HSL conversionbonjorno72023-05-091-0/+14
|/
* Added component-wise `min` and `max` functions for vectorsAndrés Botero2023-02-114-0/+31
* Add support for interpolating skewed transformsAaron Franke2023-01-281-0/+13
* Convert en_GB spelling to en_US with codespellRémi Verschelde2023-01-231-4/+4
* Rename `center` method to `get_center` in Plane.Raul Santos2023-01-151-2/+2
* One Copyright Update to rule them allRémi Verschelde2023-01-0521-609/+609
* Merge pull request #68386 from MewPurPur/snappedi-snappedfRémi Verschelde2022-11-243-2/+22
|\
| * Implement snappedi, snappedf, and Vector[2/3/4]i.snappedVolTer2022-11-193-2/+22
* | Generic math function tests: Test float and double variantsHendrik Brucker2022-11-091-333/+326
|/
* [Tests] Replace Math::is_equal_approx with == and doctest::ApproxHendrik Brucker2022-11-0512-78/+78
* Add a test suite for `Math::` namespace functionsHendrik Brucker2022-11-041-0/+556
* Allow getting Quaternion rotation in different Euler ordersAaron Franke2022-11-021-5/+22
* Merge pull request #66747 from aaronfranke/move-euler-orderRémi Verschelde2022-11-021-24/+24
|\
| * Move EulerOrder enum to math_defs.h and global scopeAaron Franke2022-11-021-24/+24