godot/core/math
lawnjelly b411a731fe Add nodiscard to core math classes to catch c++ errors.
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-20 13:07:49 +00:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02: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 Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00:00
audio_frame.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
basis.cpp Merge pull request #53684 from TokageItLab/orthogonal-mode 2022-01-05 16:05:40 +01:00
basis.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00: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 CameraMatrix: Pre-allocate Vector in get_projection_planes(). 2022-01-13 10:14:59 +05:45
camera_matrix.h Update copyright statements to 2022 2022-01-03 21:27:34 +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 Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
convex_hull.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
delaunay_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +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 Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
expression.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
expression.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
face3.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
face3.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00:00
geometry_2d.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
geometry_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
geometry_3d.cpp Use List Initializations for Vectors. 2022-01-12 10:15:12 +05:45
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 Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00:00
quaternion.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
quaternion.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +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 Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
rect2.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
rect2.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00: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 Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
transform_2d.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00:00
transform_3d.cpp Merge pull request #53684 from TokageItLab/orthogonal-mode 2022-01-05 16:05:40 +01:00
transform_3d.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00: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 Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
vector2.cpp Add length and length_squared to Vector2i/3i 2022-01-06 10:06:56 -08:00
vector2.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00:00
vector3.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
vector3.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00:00
vector3i.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
vector3i.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 13:07:49 +00:00