godot/core/math
stoofin 8abd64dcbb
Fixed bug caused by a copy/paste error in Face3::get_closest_point_to
s * edge0 = -d / a * edge0 = -edge0⋅v0 / (edge0⋅edge0) * edge0 = vector projection of -v0 onto edge0

By incorrectly using -e/c instead of -d/a, Face3::get_closest_point_to was returning the wrong point in certain cases.  Specifically, I noticed it returning vertex[0] when it should have been returning vertex[1].
2019-11-19 22:30:28 -08:00
..
a_star.cpp Emit an error rather than crash in A* 2019-11-08 20:32:50 +08:00
a_star.h Merge pull request #30556 from kawa-yoiko/astar-directed 2019-11-07 12:33:27 +01:00
aabb.cpp Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
aabb.h Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
audio_frame.cpp
audio_frame.h
basis.cpp Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
basis.h Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
bsp_tree.cpp Replace vector == and is_zero_approx(distance) with is_equal_approx 2019-10-14 16:47:42 -04:00
bsp_tree.h
camera_matrix.cpp
camera_matrix.h
delaunay.h Replace vector == and is_zero_approx(distance) with is_equal_approx 2019-10-14 16:47:42 -04:00
disjoint_set.cpp Fix copyright headers and style issues 2019-09-24 11:52:06 +02:00
disjoint_set.h
expression.cpp
expression.h
face3.cpp Fixed bug caused by a copy/paste error in Face3::get_closest_point_to 2019-11-19 22:30:28 -08:00
face3.h
geometry.cpp Merge pull request #32051 from qarmin/some_error_explanation 2019-09-25 11:51:54 +02:00
geometry.h
math_defs.h
math_fieldwise.cpp
math_fieldwise.h
math_funcs.cpp Remove circular include between core/typedefs.h and core/error_macros.h 2019-10-08 11:03:57 +02:00
math_funcs.h Fix "seperate" typos 2019-10-31 08:52:26 -04:00
octree.h
plane.cpp Merge pull request #32477 from aaronfranke/equal-approx-separate 2019-11-07 14:54:15 +01:00
plane.h Expose is_equal_approx and restore == to be exact again 2019-10-14 16:48:59 -04:00
quat.cpp Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
quat.h Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
quick_hull.cpp Replace vector == and is_zero_approx(distance) with is_equal_approx 2019-10-14 16:47:42 -04:00
quick_hull.h
random_number_generator.cpp
random_number_generator.h
random_pcg.cpp
random_pcg.h
rect2.cpp Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
rect2.h Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
SCsub
transform_2d.cpp Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
transform_2d.h Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
transform.cpp Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
transform.h Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
triangle_mesh.cpp
triangle_mesh.h
triangulate.cpp
triangulate.h
vector2.cpp Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
vector2.h Expose is_equal_approx and restore == to be exact again 2019-10-14 16:48:59 -04:00
vector3.cpp Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
vector3.h Expose is_equal_approx and restore == to be exact again 2019-10-14 16:48:59 -04:00