summaryrefslogtreecommitdiff
path: root/modules/gltf/gltf_skeleton.h
diff options
context:
space:
mode:
authorPasi Nuutinmaki <GNSSStylist@sci.fi>2020-03-15 10:01:28 +0200
committerRĂ©mi Verschelde <rverschelde@gmail.com>2021-04-28 11:09:41 +0200
commita165eed73bd9783a07cdec4571a4912df71464ce (patch)
tree9dc54e0464781e266e164e49fa6fd643f2dbac2f /modules/gltf/gltf_skeleton.h
parent35a8693e6ab5a46d2e72e39aa816689de4d371b9 (diff)
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
Diffstat (limited to 'modules/gltf/gltf_skeleton.h')
0 files changed, 0 insertions, 0 deletions