virtualx-engine/core/math
lawnjelly 0565676893 Protection for array operator for Vector2 / 3 in DEV builds
A previous PR had changed the array operator to give unbounded access. This could cause crashes where old code depended on this previous safe behaviour.

This PR adds DEV_ASSERT macros for out of bound access to DEV builds, allowing us to quickly identify bugs in calling code, without affecting performance in release or release_debug editor builds.
2022-03-07 11:15:45 +00:00
..
a_star.cpp Remove a cross include from a_star.cpp 2022-02-06 15:05:17 -07:00
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 Float literals - fix main primitives to use .f 2022-02-10 18:43:19 +00:00
audio_frame.h Fix integer vector mul/div operators and bindings. 2022-02-06 13:34:41 +01:00
basis.cpp Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
basis.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
bvh.h BVH - Sync BVH with 3.x 2022-02-04 16:51:21 +00:00
bvh_abb.h BVH - Sync BVH with 3.x 2022-02-04 16:51:21 +00:00
bvh_cull.inc Merge pull request #57630 from lawnjelly/bvh4_templated_checks 2022-03-04 23:29:38 +01:00
bvh_debug.inc Merge pull request #57630 from lawnjelly/bvh4_templated_checks 2022-03-04 23:29:38 +01: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 BVH - Sync BVH with 3.x 2022-02-04 16:51:21 +00: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 BVH - Sync BVH with 3.x 2022-02-04 16:51:21 +00:00
bvh_structs.inc BVH - Sync BVH with 3.x 2022-02-04 16:51:21 +00:00
bvh_tree.h BVH - Sync BVH with 3.x 2022-02-04 16:51:21 +00:00
camera_matrix.cpp Use is_zero_approx and fix spelling in CameraMatrix invert 2022-02-26 12:19:54 -06:00
camera_matrix.h Core: Use forward declares for Vector3/Vector3i 2022-02-19 16:47:24 +01:00
color.cpp Float literals - fix main primitives to use .f 2022-02-10 18:43:19 +00:00
color.h Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +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 Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
face3.h Float literals - fix main primitives to use .f 2022-02-10 18:43:19 +00:00
geometry_2d.cpp Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
geometry_2d.h Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
geometry_3d.cpp Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
geometry_3d.h Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00: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 Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
octree.h Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
plane.cpp Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
plane.h Core: Make all Variant math types structs 2022-02-04 16:48:24 +01:00
quaternion.cpp Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
quaternion.h Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00: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 Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
rect2.cpp Core: Move Rect2i to its own rect2i.h header 2022-02-04 14:17:30 +01:00
rect2.h Float literals - fix main primitives to use .f 2022-02-10 18:43:19 +00: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 Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00: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 Float literals - fix main primitives to use .f 2022-02-10 18:43:19 +00:00
triangulate.h Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
vector2.cpp Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
vector2.h Protection for array operator for Vector2 / 3 in DEV builds 2022-03-07 11:15:45 +00:00
vector2i.cpp Core: Move Vector2i to its own vector2i.h header 2022-02-04 16:32:21 +01:00
vector2i.h Protection for array operator for Vector2 / 3 in DEV builds 2022-03-07 11:15:45 +00:00
vector3.cpp Float literals - fix main primitives to use real_t casting 2022-02-24 08:15:10 +00:00
vector3.h Protection for array operator for Vector2 / 3 in DEV builds 2022-03-07 11:15:45 +00:00
vector3i.cpp Core: Use forward declares for Vector3/Vector3i 2022-02-19 16:47:24 +01:00
vector3i.h Protection for array operator for Vector2 / 3 in DEV builds 2022-03-07 11:15:45 +00:00