1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00
Files
godot/core/math
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
..
2021-01-01 20:19:21 +01:00
2021-01-01 20:19:21 +01:00
2021-01-01 20:19:21 +01:00
2021-01-26 13:04:22 -05:00
2021-01-01 20:19:21 +01:00
2021-04-09 16:11:02 +03:00
2021-04-28 11:09:41 +02:00
2021-01-01 20:19:21 +01:00
2021-04-23 21:45:23 +02:00
2021-01-01 20:19:21 +01:00
2021-01-01 20:19:21 +01:00
2021-01-01 20:19:21 +01:00
2021-03-29 13:57:34 -06:00
2021-01-01 20:19:21 +01:00
2021-01-01 20:19:21 +01:00
2021-02-16 05:07:33 -05:00
2021-01-01 20:19:21 +01:00