godot/core/math
A Thousand Ships 86b9d7355f
[Core] Add `is_same` to types that have float components
Compares `NaN` as equal.

Added to:
* `AABB`
* `Basis`
* `Color`
* `Plane`
* `Projection`
* `Quaternion`
* `Rect2`
* `Transform2D`
* `Transform3D`
* `Vector2`
* `Vector3`
* `Vector4`

And added as a method in `Math`
2024-09-28 18:08:06 +02:00
..
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
a_star.compat.inc add partial path return option for astar 2024-04-03 22:27:33 -07:00
a_star.cpp fix astar partial path destination can be solid/disabled 2024-09-12 20:09:41 -07:00
a_star.h fix astar partial path destination can be solid/disabled 2024-09-12 20:09:41 -07:00
a_star_grid_2d.compat.inc add partial path return option for astar 2024-04-03 22:27:33 -07:00
a_star_grid_2d.cpp fix astar partial path destination can be solid/disabled 2024-09-12 20:09:41 -07:00
a_star_grid_2d.h fix astar partial path destination can be solid/disabled 2024-09-12 20:09:41 -07:00
aabb.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
aabb.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
audio_frame.h Fix member names of `AudioFrame` to match extension 2024-02-13 15:37:09 +01:00
basis.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
basis.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
bvh.h Enforce template syntax `typename` over `class` 2024-03-07 22:39:09 -06:00
bvh_abb.h Fix some uses of float and real_t in core/math 2024-03-29 16:44:12 -07:00
bvh_cull.inc Merge pull request #57630 from lawnjelly/bvh4_templated_checks 2022-03-04 23:29:38 +01:00
bvh_debug.inc Fix some uses of float and real_t in core/math 2024-03-29 16:44:12 -07:00
bvh_integrity.inc Dynamic BVH broadphase in 2D & 3D Godot Physics 2021-05-10 16:28:55 -07:00
bvh_logic.inc BVH - Sync BVH with 3.x 2022-02-04 16:51:21 +00:00
bvh_misc.inc BVH - Sync BVH with 3.x 2022-02-04 16:51:21 +00:00
bvh_pair.inc BVH - Sync BVH with 3.x 2022-02-04 16:51:21 +00:00
bvh_public.inc Fixup BVH debugging statements 2022-07-25 18:21:53 +02:00
bvh_refit.inc Fix not refitting upward from leaf nodes. 2023-09-28 20:27:51 +08:00
bvh_split.inc Fix some uses of float and real_t in core/math 2024-03-29 16:44:12 -07:00
bvh_structs.inc Fix not refitting upward from leaf nodes. 2023-09-28 20:27:51 +08:00
bvh_tree.h Enforce template syntax `typename` over `class` 2024-03-07 22:39:09 -06:00
color.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
color.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
color_names.inc Optimize `Color::find_named_color()` 2024-05-23 15:19:19 +03:00
convex_hull.cpp CI: Update `clang-format` pre-commit hook to 19.1.0 2024-09-26 11:46:12 +02:00
convex_hull.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
delaunay_2d.h [Core] Codestyle improvements to math types 2024-03-04 18:17:10 +01:00
delaunay_3d.h [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)` 2024-05-02 10:31:13 +02:00
disjoint_set.h Enforce template syntax `typename` over `class` 2024-03-07 22:39:09 -06:00
dynamic_bvh.cpp Fix various typos with codespell 2023-02-01 08:45:41 +01:00
dynamic_bvh.h Use `Vector*` component-wise `min/max/clamp` functions where applicable 2024-03-20 13:47:42 +01:00
expression.cpp Fix parsing of `4.` in Expression 2024-07-02 20:53:52 +08:00
expression.h Enforce template syntax `typename` over `class` 2024-03-07 22:39:09 -06:00
face3.cpp Cleanup unused engine code v2 2023-01-19 13:02:18 +01:00
face3.h Core: Replace `_NO_DISCARD_` macro with attribute 2024-04-12 16:40:01 -05:00
geometry_2d.cpp Replace Clipper1 library by Clipper2 library 2024-04-20 13:37:59 +02:00
geometry_2d.h Clarify is_polygon_clockwise() coordinate system 2024-05-20 18:34:45 +01:00
geometry_3d.cpp Pre-commit: Update to clang-format 17.0.6 and black 24.2.0 2024-02-28 14:25:35 +01:00
geometry_3d.h Fix some uses of float and real_t in core/math 2024-03-29 16:44:12 -07:00
math_defs.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
math_fieldwise.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
math_fieldwise.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
math_funcs.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
math_funcs.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
plane.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
plane.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
projection.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
projection.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
quaternion.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
quaternion.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
quick_hull.cpp [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)` 2024-05-02 10:31:13 +02:00
quick_hull.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
random_number_generator.cpp Add RandomNumberGenerator::rand_weighted method 2024-02-29 13:29:53 +01:00
random_number_generator.h Fix `RandomNumberGenerator::rand_weighted` return type 2024-03-02 20:56:01 -06:00
random_pcg.cpp Fix RandomPCG::rand_weighted incorrectly returning -1 2024-07-04 02:00:59 +02:00
random_pcg.h Enforce template syntax `typename` over `class` 2024-03-07 22:39:09 -06:00
rect2.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
rect2.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
rect2i.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rect2i.h Merge pull request #90582 from Repiteo/core/remove-macro-_NO_DISCARD_ 2024-06-25 10:01:39 +02:00
static_raycaster.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
static_raycaster.h Fix `builtin_embree=no` build linking the wrong version of Embree 2024-05-08 00:40:45 +02:00
transform_2d.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
transform_2d.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
transform_3d.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
transform_3d.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
transform_interpolator.cpp Fixed Timestep Interpolation (3D) 2024-07-07 22:15:23 +02:00
transform_interpolator.h Fixed Timestep Interpolation (3D) 2024-07-07 22:15:23 +02:00
triangle_mesh.cpp [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)` 2024-05-02 10:31:13 +02:00
triangle_mesh.h Cleanup unused engine code v2 2023-01-19 13:02:18 +01:00
triangulate.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
triangulate.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
vector2.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
vector2.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
vector2i.cpp [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)` 2024-05-02 10:31:13 +02:00
vector2i.h Merge pull request #90582 from Repiteo/core/remove-macro-_NO_DISCARD_ 2024-06-25 10:01:39 +02:00
vector3.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
vector3.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
vector3i.cpp [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)` 2024-05-02 10:31:13 +02:00
vector3i.h Merge pull request #90582 from Repiteo/core/remove-macro-_NO_DISCARD_ 2024-06-25 10:01:39 +02:00
vector4.cpp [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
vector4.h [Core] Add `is_same` to types that have float components 2024-09-28 18:08:06 +02:00
vector4i.cpp [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)` 2024-05-02 10:31:13 +02:00
vector4i.h Merge pull request #90582 from Repiteo/core/remove-macro-_NO_DISCARD_ 2024-06-25 10:01:39 +02:00