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
..
a_star.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
a_star.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
aabb.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
aabb.h Type consistencies in core 2021-01-26 13:04:22 -05:00
audio_frame.h Make audio bus channels' peak volume consistent 2021-02-02 11:30:32 +01:00
basis.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
basis.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
camera_matrix.cpp Merge pull request #37547 from aaronfranke/tau 2021-02-01 20:55:25 +01:00
camera_matrix.h Added GPU based cluster builder 2021-01-19 23:31:06 +01:00
color_names.inc
color.cpp Make Color::from_hsv use Color::set_hsv 2021-02-25 19:50:43 +01:00
color.h Fix Color::get_{r,g,b,a}8 2021-04-09 16:11:02 +03:00
delaunay_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
delaunay_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
disjoint_set.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
dynamic_bvh.cpp Style: Apply clang-tidy's readability-braces-around-statements 2021-04-05 14:09:59 +02:00
dynamic_bvh.h Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
expression.cpp Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
expression.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
face3.cpp Fix area calculation of Face3 2021-04-28 11:09:41 +02:00
face3.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
geometry_2d.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
geometry_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
geometry_3d.cpp Fix unchecked array access in build_*_planes 2021-02-22 16:32:51 +01:00
geometry_3d.h Cylinder support in Godot Physics 3D 2021-02-10 10:00:53 -07:00
math_defs.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
math_fieldwise.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
math_fieldwise.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
math_funcs.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
math_funcs.h Implement occlusion culling 2021-04-23 21:45:23 +02:00
octree.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
plane.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
plane.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
quat.cpp Fix Quat multiplication 2021-03-29 13:57:34 -06:00
quat.h Remove Quat set methods in favour of constructors 2021-01-26 06:52:04 +00:00
quick_hull.cpp Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
quick_hull.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
random_number_generator.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
random_number_generator.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
random_pcg.cpp Make randomize() use unix time too 2021-04-22 21:08:33 +02:00
random_pcg.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
rect2.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
rect2.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub
transform_2d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
transform_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
transform.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
transform.h Use Vector3.UP as a default value for look_at's up vector 2021-02-16 18:33:23 -05:00
triangle_mesh.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
triangle_mesh.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
triangulate.cpp Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
triangulate.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
vector2.cpp Define GDNative sizes using sizeof(godot_real_t) and sizeof(int32_t) 2021-01-25 16:42:14 -05:00
vector2.h Define GDNative sizes using sizeof(godot_real_t) and sizeof(int32_t) 2021-01-25 16:42:14 -05:00
vector3.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
vector3.h Added signed_angle_to for Vector3 2021-02-16 05:07:33 -05:00
vector3i.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
vector3i.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00