godot/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
crypto
debugger
error
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
core_bind.h
core_builders.py
core_constants.cpp
core_constants.h
core_string_names.cpp
core_string_names.h
doc_data.cpp
doc_data.h
register_core_types.cpp
register_core_types.h
SCsub
typedefs.h
version.h