virtualx-engine/core
Pasi Nuutinmaki a165eed73b
Fix area calculation of Face3
There seemed to be a bug in area calculation in Face3::get_area()-function. It returned the area of "imaginary" parallelogram instead of the triangle. Therefore the area returned was twice the real area. This manifested itself when using a hydro module for godot ( https://gitlab.com/ringtechsolutions/godot-tools/hydro/hydro ) causing the buoyancy to be two times the expected value.

"Reference": http://www.maths.usyd.edu.au/u/MOW/vectors/vectors-11/v-11-7.html
2021-04-28 11:09:41 +02:00
..
config Set resource path earlier on ProjectSettings setup 2021-04-08 09:35:06 -03:00
crypto Style: Apply clang-tidy's readability-braces-around-statements 2021-04-05 14:09:59 +02:00
debugger [Net] Make debugger peer less CPU intensive. 2021-03-16 21:48:15 +01:00
error Modernize atomics 2021-02-18 17:12:46 +01:00
input Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
io Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
math Fix area calculation of Face3 2021-04-28 11:09:41 +02:00
object Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
os Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
string Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
templates Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
variant Merge pull request #48239 from akien-mga/goodbye-copymem 2021-04-28 11:04:05 +02:00
core_bind.cpp Fix _File::get_buffer length always set to p_length 2021-04-11 23:11:13 +02:00
core_bind.h Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead 2021-02-25 18:34:50 +01:00
core_builders.py Update AUTHORS and DONORS list 2020-08-14 00:06:51 +02:00
core_constants.cpp Rename some more global enums (Key, Joy, MIDI) 2021-03-23 07:13:23 -04:00
core_constants.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
core_string_names.cpp Removed _change_notify 2021-02-10 19:31:24 -03:00
core_string_names.h Removed _change_notify 2021-02-10 19:31:24 -03:00
doc_data.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
doc_data.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
register_core_types.cpp Rename PHashTranslation to OptimizedTranslation 2021-03-20 10:02:47 +00:00
register_core_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub Update PolyPartition / Triangulator library 2021-01-12 13:46:16 -05:00
typedefs.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
version.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00