godot/core/math
Ferenc Arn 97d510531a Fix polar decomposition in 2D.
When performing polar decomposition in 2D as B = R.S, where R is rotation (with determinant +1) and S is scaling, use the convention that reflections are absorbed into S through a reflection around y axis.
In 3D, this is done by using a reflection along all three axes, but since the dimensionality is even in 2D, one axis needs to be chosen.

Fixes Matrix32::get_rotation and Matrix32::get_scale (which weren't properly fixed in #7445).
2017-03-29 12:04:49 -05:00
..
a_star.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
a_star.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
audio_frame.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
audio_frame.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
bsp_tree.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
bsp_tree.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
camera_matrix.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
camera_matrix.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
face3.cpp Fix typos in source code using codespell 2017-03-24 21:45:31 +01:00
face3.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
geometry.cpp Fix typos in source code using codespell 2017-03-24 21:45:31 +01:00
geometry.h Fix typos in source code using codespell 2017-03-24 21:45:31 +01:00
math_2d.cpp Fix polar decomposition in 2D. 2017-03-29 12:04:49 -05:00
math_2d.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
math_defs.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
math_funcs.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
math_funcs.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
matrix3.cpp Merge pull request #8122 from tagcup/axis_check_normalization 2017-03-24 22:51:27 +01:00
matrix3.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
octree.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
pcg.cpp Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant with 32-bit output, 64-bit state). 2017-01-15 19:15:16 -06:00
pcg.h Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant with 32-bit output, 64-bit state). 2017-01-15 19:15:16 -06:00
plane.cpp Fix typos in source code using codespell 2017-03-24 21:45:31 +01:00
plane.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
quat.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
quat.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
quick_hull.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
quick_hull.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
rect3.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
rect3.h Fix typos in source code using codespell 2017-03-24 21:45:31 +01:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
transform.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
transform.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
triangle_mesh.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
triangle_mesh.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
triangulate.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
triangulate.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
triangulator.cpp Style: Fix whole-line commented code 2017-01-14 14:52:23 +01:00
triangulator.h begin new serialization framework 2015-02-15 01:21:26 -03:00
vector3.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
vector3.h Merge pull request #8132 from tagcup/vector3_angle_to 2017-03-24 22:52:46 +01:00