virtualx-engine/core/math
lawnjelly 0bcda22d7c 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 10:34:40 +00:00
..
a_star.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
a_star.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
aabb.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
aabb.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 17:28:31 +00:00
audio_frame.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
audio_frame.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
basis.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
basis.h Fixed Timestep Interpolation (3D) 2022-02-16 09:41:23 +00:00
bsp_tree.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
bsp_tree.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
bvh.h BVH templated mask checks and generic NUM_TREES 2022-01-21 10:08:29 +00:00
bvh_abb.h BVH templated mask checks and generic NUM_TREES 2022-01-21 10:08:29 +00:00
bvh_cull.inc BVH templated mask checks and generic NUM_TREES 2022-01-21 10:08:29 +00:00
bvh_debug.inc BVH - detect shrinkage within expanded bounds 2021-11-17 09:06:10 +00:00
bvh_integrity.inc Support for Dynamic BVH as 2D Physics broadphase 2021-04-30 15:53:15 -07:00
bvh_logic.inc clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 14:50:32 +02:00
bvh_misc.inc BVH templated mask checks and generic NUM_TREES 2022-01-21 10:08:29 +00:00
bvh_pair.inc BVH - add option for expanded AABBs in leaves 2021-11-20 06:45:12 +00:00
bvh_public.inc BVH templated mask checks and generic NUM_TREES 2022-01-21 10:08:29 +00:00
bvh_refit.inc BVH - fix stale current_tree in deactivate function 2021-05-25 10:43:04 +01:00
bvh_split.inc BVH - detect shrinkage within expanded bounds 2021-11-17 09:06:10 +00:00
bvh_structs.inc BVH templated mask checks and generic NUM_TREES 2022-01-21 10:08:29 +00:00
bvh_tree.h BVH - fix leaking leaves 2022-02-03 08:05:57 +00:00
camera_matrix.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
camera_matrix.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
convex_hull.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
convex_hull.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
delaunay.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
disjoint_set.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
disjoint_set.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
expression.cpp Make parser treat all exponent literals as float 2022-02-11 09:50:58 +01:00
expression.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
face3.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
face3.h Fix typos with codespell 2022-02-11 09:50:59 +01:00
geometry.cpp Add OccluderShapePolygon 2022-02-01 11:31:06 +00:00
geometry.h Add OccluderShapePolygon 2022-02-01 11:31:06 +00:00
math_defs.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
math_fieldwise.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
math_fieldwise.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
math_funcs.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
math_funcs.h Add OccluderShapePolygon 2022-02-01 11:31:06 +00:00
octree.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
octree_definition.inc Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
plane.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
plane.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 17:28:31 +00:00
quat.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
quat.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 17:28:31 +00:00
quick_hull.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
quick_hull.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
random_number_generator.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
random_number_generator.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
random_pcg.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
random_pcg.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
rect2.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
rect2.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 17:28:31 +00:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
transform.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
transform.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 17:28:31 +00:00
transform_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
transform_2d.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 17:28:31 +00:00
transform_interpolator.cpp Fixed Timestep Interpolation (3D) 2022-02-16 09:41:23 +00:00
transform_interpolator.h Fixed Timestep Interpolation (3D) 2022-02-16 09:41:23 +00:00
triangle_mesh.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
triangle_mesh.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
triangulate.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
triangulate.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
vector2.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
vector2.h Protection for array operator for Vector2 / 3 in DEV builds 2022-03-07 10:34:40 +00:00
vector3.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
vector3.h Protection for array operator for Vector2 / 3 in DEV builds 2022-03-07 10:34:40 +00:00