godot/core
stoofin 577b6d1196 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].

(cherry picked from commit 8abd64dcbb)
2019-11-29 16:04:41 +01:00
..
bind Add object encoding param to serialization methods 2019-04-20 23:15:02 +02:00
io Fix a random SSL crash I saw once. 2019-11-12 13:09:35 +01:00
math Fixed bug caused by a copy/paste error in Face3::get_closest_point_to 2019-11-29 16:04:41 +01:00
os Fix NaN with get_action_strength 2019-11-12 11:24:39 +01:00
array.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
array.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
class_db.cpp Fix wrong method binds and registered class 2019-04-22 21:57:06 +02:00
class_db.h Fix wrong method binds and registered class 2019-04-22 21:57:06 +02:00
color_names.inc Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
color.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
color.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
command_queue_mt.cpp Fix alignment and locking issues with CommandQueueMT 2019-02-16 04:00:19 +01:00
command_queue_mt.h Fix alignment and locking issues with CommandQueueMT 2019-02-16 04:00:19 +01:00
compressed_translation.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
compressed_translation.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
core_builders.py Allow system certs file to be used by Editor. 2018-09-15 14:45:54 +02:00
core_string_names.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
core_string_names.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
cowdata.h Repair String lstrip and rstrip. 2019-01-07 17:34:44 +00:00
dictionary.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
dictionary.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
engine.cpp Add hex-encoded version number to Engine singleton for easy comparisons 2019-02-17 13:38:52 +01:00
engine.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
error_list.h Properly expose all Error constants to scripting languages 2019-07-29 17:32:54 +02:00
error_macros.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
error_macros.h Clean up blend shape support in GLES2 and GLES3. 2019-03-01 16:01:44 -03:00
func_ref.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
func_ref.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
global_constants.cpp Properly expose all Error constants to scripting languages 2019-07-29 17:32:54 +02:00
global_constants.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
hash_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
hashfuncs.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
image.cpp Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733 2019-03-07 12:16:20 -03:00
image.h Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733 2019-03-07 12:16:20 -03:00
input_map.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
input_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
int_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
list.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
make_binders.py fix windows build using python 3.7 2018-07-28 18:13:48 +02:00
map.h Update some dead links in the codebase 2019-07-29 17:47:46 +02:00
message_queue.cpp MessageQueue::flush now always destroys parameters of a spent message 2019-11-12 11:37:32 +01:00
message_queue.h Do not allow adding tasks while in the middle of flushing a message queue 2019-01-14 11:00:05 -03:00
method_bind.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
method_bind.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
method_ptrcall.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
node_path.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
node_path.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
oa_hash_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
object.cpp Fix Object::get_indexed for simple properties. 2019-11-12 11:25:58 +01:00
object.h Hopefully fix the random crashes with threads 2019-11-12 13:09:35 +01:00
ordered_hash_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
packed_data_container.cpp Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended. 2019-09-24 09:00:45 +02:00
packed_data_container.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pair.h Fix many asan and ubsan reported issues 2019-01-30 06:43:56 +01:00
path_remap.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
path_remap.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_allocator.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_allocator.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_vector.cpp Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
pool_vector.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
print_string.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
print_string.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
project_settings.cpp Enable object decoding when serializing binary project settings 2019-04-20 23:15:08 +02:00
project_settings.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ref_ptr.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ref_ptr.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
reference.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
reference.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
register_core_types.cpp Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
register_core_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
resource.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
resource.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
rid.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
rid.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ring_buffer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
safe_refcount.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
safe_refcount.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
script_debugger_local.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
script_debugger_local.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
script_debugger_remote.cpp Ability to keep pumping messages while being debugged, may be a solution for #21431 2019-03-03 17:12:19 -03:00
script_debugger_remote.h Make allowed pid for window takeover happen immediately, fixes #21431 2019-02-23 12:09:35 -03:00
script_language.cpp Allow class_name scripts to have nested inheritance 2019-03-09 00:47:27 -03:00
script_language.h Fix -Wnon-virtual-dtor warnings. 2019-04-03 17:01:04 +02:00
SCsub Update zstd to 1.4.3 2019-11-12 08:09:52 +01:00
self_list.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
set.h Update some dead links in the codebase 2019-07-29 17:47:46 +02:00
simple_type.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
sort_array.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
string_buffer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
string_builder.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
string_builder.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
string_name.cpp Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
string_name.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
translation.cpp Locales: Add some missing locale names 2019-11-12 11:17:20 +01:00
translation.h Added TranslationServer::get_loaded_locales to return an array of all locales with a loaded Translation 2019-09-24 09:00:46 +02:00
type_info.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
typedefs.h Fix -Wimplicit-fallthrough warnings from GCC 8 2019-09-24 09:00:45 +02:00
ucaps.h Reorder reverse caps characters table for string lower case conversion 2019-04-20 20:02:45 +02:00
undo_redo.cpp Safer way to update animation if changed, fixes #26670 2019-03-06 10:22:38 -03:00
undo_redo.h Implement a more coherent (and way less hack) way to block animation updates, fixes #24618 2019-03-03 17:57:16 -03:00
ustring.cpp Add NULL-terminator the string passed to strtol. 2019-09-24 09:00:44 +02:00
ustring.h Fix new GCC 9 warnings: -Wdeprecated-copy. 2019-04-20 22:04:25 +02:00
variant_call.cpp Improved documentation of rsplit Method for String class. 2019-07-29 15:16:59 +02:00
variant_op.cpp Merge pull request #25934 from mrcdk/pool_int_real_color_interpolate 2019-03-03 13:30:43 +01:00
variant_parser.cpp Support UTF-8 input action names 2019-09-24 09:00:44 +02:00
variant_parser.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
variant.cpp Fix many asan and ubsan reported issues 2019-01-30 06:43:56 +01:00
variant.h Align the Variant data member 2019-02-20 11:14:22 +00:00
vector.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
version.h Add hex-encoded version number to Engine singleton for easy comparisons 2019-02-17 13:38:52 +01:00
vmap.h Replace a few #if/#elif with #ifdef and "#elif defined" 2019-04-20 20:13:07 +02:00
vset.h Replace a few #if/#elif with #ifdef and "#elif defined" 2019-04-20 20:13:07 +02:00