virtualx-engine/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 Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
audio_frame.h Added generator audio stream, and spectrum analyzer audio effect 2019-04-10 12:58:06 -03:00
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 Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
camera_matrix.cpp Update some dead links in the codebase 2019-07-23 21:06:12 -03:00
camera_matrix.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
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 GLTF2 Import Fixes - Skin(s) to Skeleton - Skin Support 2019-09-20 23:08:58 -07:00
expression.cpp Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/' 2019-08-17 12:33:15 +02:00
expression.h Added lerp_angles built-in function 2019-07-20 12:59:41 +03:00
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 Add -Wshadow=local to warnings and fix reported issues. 2019-02-20 19:44:12 +01:00
geometry.cpp Merge pull request #32051 from qarmin/some_error_explanation 2019-09-25 11:51:54 +02:00
geometry.h Remove redundant transform method in Geometry singleton 2019-09-01 14:34:51 +03:00
math_defs.h Several fixes to make GLES2 on HTML5 work much better. 2019-02-25 21:47:29 -03:00
math_fieldwise.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
math_fieldwise.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
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 Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/' 2019-08-17 12:33:15 +02:00
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 Scale quickhull tolerance with mesh size 2019-03-01 20:58:39 +00:00
random_number_generator.cpp Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
random_number_generator.h Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
random_pcg.cpp Merge pull request #27193 from toasteater/fix/pcg-randf 2019-06-12 15:21:58 +02:00
random_pcg.h Merge pull request #27193 from toasteater/fix/pcg-randf 2019-06-12 15:21:58 +02:00
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 Move CryptoCore to it's own folder. 2019-08-19 16:31:05 +02: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
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
triangle_mesh.cpp Added release function to PoolVector::Access. 2019-07-06 12:04:27 +01:00
triangle_mesh.h Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
triangulate.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
triangulate.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
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