34477bbfcd
Cleanup: remove redundant parenthesis
2022-09-26 14:23:52 +10:00
21d77a417e
Cleanup: replace C-style casts with functional casts for numeric types
...
Some changes missed from f68cfd6bb0 .
2022-09-25 22:31:31 +10:00
f68cfd6bb0
Cleanup: replace C-style casts with functional casts for numeric types
2022-09-25 20:17:08 +10:00
6424fbca94
Cleanup: spelling
2022-09-19 14:52:27 +10:00
94e211ced9
Fix T100874: improve uv unwrap of degenerate geometry
...
Provide reasonable defaults for UV unwrap for triangles with zero area:
* Three vertices are arranged in a line.
* Two vertices are at the same 3D location.
* All three vertices are at the same 3D location.
Change fixes quads / ngons which have triangulations with zero area.
Change fixes both "Angle Based" method and "Conformal" method.
Differential Revision: https://developer.blender.org/D15922
2022-09-12 14:23:22 +12:00
6c6a53fad3
Cleanup: spelling in comments, formatting, move comments into headers
2022-09-06 16:25:20 +10:00
9015cba5ce
Cleanup: clang-tidy uv_parametrizer.cc
2022-08-11 11:03:23 +10:00
d9c2922a14
Cleanup: remove redundant MEM_SAFE_FREE
...
MEM_SAFE_FREE isn't necessary when the memory is known to be allocated
and clearing the value afterwards isn't necessary.
2022-08-11 10:57:14 +10:00
e19986482f
Cleanup: reduce asan lint and clang-tidy warnings on uv_parametrizer
2022-08-11 11:10:37 +12:00
39f706a76c
Cleanup: fix attr_nonnull error found by asan
2022-08-10 16:55:43 +12:00
8b51bd61fd
Cleanup: make format
2022-08-07 10:09:31 +12:00
fcd61d2056
Cleanup: Move uv_parametrizer.c to C++
...
Differential Review: https://developer.blender.org/D15618
2022-08-06 13:54:40 +12:00