godot/core/math
reduz 8c7268664d
Fix integer vector mul/div operators and bindings.
* Vector2i and Vector3i mul/div by a float results in Vector2 and Vector3 respectively.
* Create specializations to allow proper bindings.

This fixes #44408 and supersedes #44441 and keeps the same rule of int <op> float returnig float, like with scalars.
2022-02-06 13:34:41 +01:00
..
a_star.cpp Use List Initializations for Vectors. 2022-01-12 10:15:12 +05:45
a_star.h Style: Remove inconsistently used @author docstrings 2022-01-04 20:42:50 +01:00
aabb.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
aabb.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
audio_frame.h Fix integer vector mul/div operators and bindings. 2022-02-06 13:34:41 +01:00
basis.cpp Merge pull request #53684 from TokageItLab/orthogonal-mode 2022-01-05 16:05:40 +01:00
basis.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
bvh.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
bvh_abb.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
bvh_cull.inc Fix buffer overflow in 2D BVH 2021-09-29 12:10:23 -07:00
bvh_debug.inc Fix buffer overflow in 2D BVH 2021-09-29 12:10:23 -07:00
bvh_integrity.inc Dynamic BVH broadphase in 2D & 3D Godot Physics 2021-05-10 16:28:55 -07:00
bvh_logic.inc clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 15:43:36 +02:00
bvh_misc.inc Dynamic BVH broadphase in 2D & 3D Godot Physics 2021-05-10 16:28:55 -07:00
bvh_pair.inc Rename remove() to remove_at() when removing by index 2021-11-23 18:58:57 -07:00
bvh_public.inc BVH - fix stale current_tree in deactivate function [4.x] 2021-05-29 18:03:43 +01:00
bvh_refit.inc BVH - fix stale current_tree in deactivate function [4.x] 2021-05-29 18:03:43 +01:00
bvh_split.inc Expose max_axis_index and max_axis_index for Vector2(i) 2021-12-02 23:45:41 -06:00
bvh_structs.inc BVH - fix stale current_tree in deactivate function [4.x] 2021-05-29 18:03:43 +01:00
bvh_tree.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
camera_matrix.cpp Core: Move Rect2i to its own rect2i.h header 2022-02-04 14:17:30 +01:00
camera_matrix.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
color.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
color.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00:00
color_names.inc Rename color constants (alternative) 2021-01-26 19:07:00 +03:00
convex_hull.cpp Vectors: Use clear() and has(). 2022-02-02 00:11:09 +05:45
convex_hull.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
delaunay_2d.h Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
delaunay_3d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
disjoint_set.h Style: Remove inconsistently used @author docstrings 2022-01-04 20:42:50 +01:00
dynamic_bvh.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
dynamic_bvh.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
expression.cpp Merge pull request #57620 from Haydoggo/expression-exp-fix 2022-02-05 10:14:10 +01:00
expression.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
face3.cpp Rename or refactor macros to avoid leading underscores 2022-01-20 20:29:15 +01:00
face3.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
geometry_2d.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
geometry_2d.h Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
geometry_3d.cpp Rename or refactor macros to avoid leading underscores 2022-01-20 20:29:15 +01:00
geometry_3d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
math_defs.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
math_fieldwise.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
math_fieldwise.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
math_funcs.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
math_funcs.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
octree.h Fix typos with codespell 2022-01-07 00:12:09 +01:00
plane.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
plane.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
quaternion.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
quaternion.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
quick_hull.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
quick_hull.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
random_number_generator.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
random_number_generator.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
random_pcg.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
random_pcg.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
rect2.cpp Core: Move Rect2i to its own rect2i.h header 2022-02-04 14:17:30 +01:00
rect2.h Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
rect2i.cpp Core: Move Rect2i to its own rect2i.h header 2022-02-04 14:17:30 +01:00
rect2i.h Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
static_raycaster.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
static_raycaster.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
transform_2d.cpp Core: Move Rect2i to its own rect2i.h header 2022-02-04 14:17:30 +01:00
transform_2d.h Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
transform_3d.cpp Merge pull request #53684 from TokageItLab/orthogonal-mode 2022-01-05 16:05:40 +01:00
transform_3d.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
triangle_mesh.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
triangle_mesh.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
triangulate.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
triangulate.h Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
vector2.cpp Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
vector2.h Fix integer vector mul/div operators and bindings. 2022-02-06 13:34:41 +01:00
vector2i.cpp Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
vector2i.h Fix integer vector mul/div operators and bindings. 2022-02-06 13:34:41 +01:00
vector3.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
vector3.h Fix integer vector mul/div operators and bindings. 2022-02-06 13:34:41 +01:00
vector3i.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
vector3i.h Fix integer vector mul/div operators and bindings. 2022-02-06 13:34:41 +01:00