tornavis/source/blender/blenlib/intern
Germano Cavalcante d1f906e874 Fix T80444: Triangle-Triangle intersection regression in 2.90
The problem is due to lack of precision with small and coplanar triangles.

Also, triangles that have vertices with the same coordinate are at the
threshold of the intersection.

We could add an epsilon to consider the minimum distance for intersection.

But that would add a lot of overhead to the code.

The solution used is to increase precision using doubles.
2020-09-22 11:00:24 -03:00
..
BLI_args.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
BLI_array.c ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
BLI_assert.c Cleanup: fix compiler warnings for MSVC 2020-09-04 17:10:50 +02:00
BLI_dial_2d.c Cleanup: use term init instead of initialize/initialise 2020-08-01 13:51:05 +10:00
BLI_dynstr.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
BLI_filelist.c Cleanup: BLI_path.h function renaming 2020-04-07 12:10:36 +10:00
BLI_ghash.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
BLI_ghash_utils.c Cleanup: use array syntax for sizeof with fixed values 2020-08-08 13:38:00 +10:00
BLI_heap.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
BLI_heap_simple.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
BLI_index_range.cc BLI: add typedefs for containers that use raw allocators 2020-07-20 16:03:14 +02:00
BLI_kdopbvh.c Cleanup: missing-variable-declarations warning 2020-09-12 16:33:27 +10:00
BLI_linklist.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
BLI_linklist_lockfree.c Cleanup: comments (long lines) in blenlib 2019-04-22 06:30:08 +10:00
BLI_memarena.c BLI: deduplicate address sanitizer code 2020-05-14 17:42:54 +02:00
BLI_memblock.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
BLI_memiter.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
BLI_mempool.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
BLI_timer.c Cleanup: unused structs, struct members 2019-10-03 07:39:45 +10:00
DLRB_tree.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
array_store.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
array_store_utils.c ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
array_utils.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
astar.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
bitmap.c Cleanup: spelling 2020-07-02 13:03:46 +10:00
bitmap_draw_2d.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
boxpack_2d.c Cleanup: use array syntax for sizeof with fixed values 2020-08-08 13:38:00 +10:00
buffer.c ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
convexhull_2d.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
delaunay_2d.cc Merge newboolean branch into master. 2020-08-28 11:01:06 -04:00
dot_export.cc Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
dynlib.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
easing.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
edgehash.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
endian_switch.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
expr_pylike_eval.c Drivers: add lerp and clamp functions to namespace. 2020-07-21 19:01:50 +03:00
fileops.c Clenup: use STREQ macro 2020-08-08 13:38:00 +10:00
fnmatch.c Fix clang-format differences between version 6 and 9 2020-04-21 13:16:59 +02:00
freetypefont.c Cleanup: spelling 2020-08-19 14:04:36 +10:00
gsqueue.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
hash_md5.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
hash_mm2a.c Cleanup: comments (long lines) in misc libraries 2019-04-29 22:06:26 +10:00
hash_mm3.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
jitter_2d.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
kdtree_1d.c ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
kdtree_2d.c ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
kdtree_3d.c ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
kdtree_4d.c BLI_kdtree: refactor to support different numbers of dimensions 2019-03-20 00:30:45 +11:00
kdtree_impl.h Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
lasso_2d.c Cleanup: declare arrays arrays where possible 2020-08-07 22:37:39 +10:00
list_sort_impl.h Cleanup: use post increment/decrement 2019-09-08 00:23:25 +10:00
listbase.c Cleanup: spelling 2020-09-07 16:19:42 +10:00
math_base.c ClangFormat: apply to source, most of intern 2019-04-17 06:21:24 +02:00
math_base_inline.c BLI: move safe math functions to separate header 2020-07-16 11:28:31 +02:00
math_base_safe_inline.c BLI: move safe math functions to separate header 2020-07-16 11:28:31 +02:00
math_bits_inline.c BLI: Fix bitscan_forward_uint64 unix implementation 2020-09-12 15:29:54 +02:00
math_boolean.cc Cleanup: spelling 2020-09-06 02:19:58 +10:00
math_color.c Fix errors ensuring grease pencil palette 2020-09-01 15:00:48 +10:00
math_color_blend_inline.c Cleanup: use of 'unsigned' 2020-02-08 01:02:18 +11:00
math_color_inline.c Cleanup: Replace ABS/SQUARE/CUBE with function calls 2020-03-09 14:47:59 +01:00
math_geom.c Fix T80444: Triangle-Triangle intersection regression in 2.90 2020-09-22 11:00:24 -03:00
math_geom_inline.c Cleanup: use array syntax for sizeof with fixed values 2020-08-08 13:38:00 +10:00
math_interp.c Cleanup: declare arrays arrays where possible 2020-08-07 22:37:39 +10:00
math_matrix.c Cleanup: spelling, correct comments 2020-09-11 14:57:27 +10:00
math_rotation.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
math_solvers.c Cleanup: double-spaces in comments 2020-05-09 17:15:43 +10:00
math_statistics.c Cleanup: spelling 2019-08-12 01:10:43 +10:00
math_vec.cc Fix to previous commit to allow building without WITH_GMP. 2020-08-28 11:43:56 -04:00
math_vector.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
math_vector_inline.c BLI: Math: Add equals_v3v3_int 2020-09-05 17:49:14 +02:00
memory_utils.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
mesh_boolean.cc Apply patch D8816, from Zachary(AFWS) for collection boolean operand. 2020-09-13 16:57:27 -04:00
mesh_intersect.cc New boolean: Fix second example in T79404. 2020-09-04 20:59:36 -04:00
noise.c Clang Tidy: enable readability-non-const-parameter warning 2020-07-13 11:27:09 +02:00
path_util.c Cleanup: make format 2020-09-11 11:21:53 +02:00
polyfill_2d.c Fix T80604: BLI_polyfill_calc exceeds stack size allocating points 2020-09-09 12:58:01 +10:00
polyfill_2d_beautify.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
quadric.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
rand.cc Cleanup: use C++ style casts in various places 2020-08-07 18:42:21 +02:00
rct.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
scanfill.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
scanfill_utils.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
session_uuid.c Cleanup: Typos in comments. 2020-08-03 17:42:45 +02:00
smallhash.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
sort.c Cleanup: spelling 2019-09-30 17:07:05 +10:00
sort_utils.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
stack.c Cleanup: double-spaces in comments 2020-05-09 17:15:43 +10:00
storage.c Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
storage_apple.mm Fix clang-format differences between version 6 and 9 2020-04-21 13:16:59 +02:00
string.c Fix T78084: Search does not accept text fragments everywhere 2020-09-04 10:11:45 +02:00
string_cursor_utf8.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
string_search.cc Cleanup: spelling 2020-09-10 09:45:25 +10:00
string_utf8.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
string_utils.c Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete) 2020-08-07 11:23:02 +02:00
system.c Fix (unreported) buffer overflow in BLI_system_cpu_brand_string helper. 2020-09-16 15:04:19 +02:00
system_win32.c Windows: Ignore context record for backtrace is address is 0. 2020-05-09 18:12:14 -06:00
task_graph.cc Cleanup: unused variable warnings 2020-05-25 21:03:45 +10:00
task_iterator.c Cleanup: use parenthesis for if statements in macros 2020-09-19 16:28:17 +10:00
task_pool.cc Cleanup: make guarded memory allocation always thread safe 2020-05-20 01:03:05 +02:00
task_range.cc Clang-Tidy: enable readability-named-parameter 2020-07-03 17:07:13 +02:00
task_scheduler.cc Cleanup: spelling 2020-05-09 17:19:28 +10:00
threads.cc Cleanup: remove unused global locks from BLI_threads 2020-09-18 15:31:12 +10:00
time.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00
timecode.c Cleanup: spelling 2020-07-19 17:37:02 +10:00
timeit.cc Cleanup: rename namespace TimeIt to timeit 2020-07-06 12:37:11 +02:00
uvproject.c Cleanup: pass const matrices 2020-08-02 18:02:20 +10:00
voronoi_2d.c Cleanup: pass arrays const where possible 2020-08-07 22:56:13 +10:00
voxel.c Clang Tidy: enable readability-non-const-parameter warning 2020-07-13 11:27:09 +02:00
winstuff.c Cleanup: better naming and no bad level access in BLI_winstuff 2020-08-26 19:26:38 +02:00
winstuff_dir.c Cleanup: `make format` after SortedIncludes change 2020-03-19 09:33:58 +01:00