godot/modules
K. S. Ernest (iFire) Lee eaa84bc682
Fix CSG edge case causing intersection line to hit on common edge of 2 triangles.
The previous implementation assumed that the intersection entered or exited a
shape when it hit right on the common edge of 2 triangles. However, there is
also a case where it just "skirts" the other shape on the outside.

To fix this, we added code to check the intersection distance and if the
normals of the faces are pointed in the same direction as the intersection or
not (e.g. inner product > 0). This handles the case where the intersection
line hits the common edge of 2 triangles and skirts the other shape on the
outside.

Extended code to cover a third case.

Fixes #58637.

Co-authored-by: OldBelge <StevenGeens@users.noreply.github.com>
2023-04-27 11:39:29 +02:00
..
astcenc Refactor high quality texture import 2023-01-30 15:53:23 +01:00
basis_universal basisu: Loop over the last mipmap lod 2023-02-26 16:01:54 -08:00
bmp Adds some basic 16BPP BMP Support. 2023-04-12 19:27:23 -04:00
camera One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
csg Fix CSG edge case causing intersection line to hit on common edge of 2 triangles. 2023-04-27 11:39:29 +02:00
cvtt Use multiple threads to import HDR images 2023-02-22 09:35:15 -08:00
dds Remove (or make verbose only) various debug prints. 2023-03-20 08:14:18 +02:00
denoise One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
enet Validate code tags in documentation for potential params 2023-04-26 21:36:04 +02:00
etcpak Refactor high quality texture import 2023-01-30 15:53:23 +01:00
freetype Expose brotli decompression to the scripting API. 2023-03-29 22:43:36 +03:00
gdscript Merge pull request #76483 from vnen/gdscript-dont-fail-returning-freed-object 2023-04-27 08:47:04 +02:00
glslang One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gltf Merge pull request #76026 from YuriSizov/editor-running-up-that-gui 2023-04-26 12:15:29 +02:00
gridmap Validate code tags in documentation for potential params 2023-04-26 21:36:04 +02:00
hdr One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
jpg One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
jsonrpc One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
lightmapper_rd One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
mbedtls [Net] Remove StreamPeerTLS.blocking_handshake option. 2023-01-28 11:08:02 +01:00
meshoptimizer One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
minimp3 Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
mobile_vr Add a get_system_info method to XRInterface 2023-03-15 13:11:48 +11:00
mono Merge pull request #76026 from YuriSizov/editor-running-up-that-gui 2023-04-26 12:15:29 +02:00
msdfgen One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
multiplayer Validate code tags in documentation for potential params 2023-04-26 21:36:04 +02:00
navigation Fix NavigationMesh baking for HeightMapShape 2023-04-18 20:39:43 +02:00
noise Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
ogg Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
openxr Fix various typos with codespell 2023-04-26 13:57:09 +02:00
raycast Use range iterators in LocalVector loops 2023-01-21 18:44:42 +01:00
regex Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
squish Fix misuses of error macros 2023-04-18 10:20:48 +03:00
svg SVG: fix tvg::Picture->size() and scale based errors. 2023-04-05 19:15:21 +02:00
text_server_adv Merge pull request #75975 from bruvzg/bidi_and_log_errors 2023-04-12 13:28:12 +02:00
text_server_fb [TextServer] Use dedicated flag for object replacement characters. 2023-04-12 10:08:51 +03:00
tga One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
theora Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
tinyexr One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
upnp Validate code tags in documentation for potential params 2023-04-26 21:36:04 +02:00
vhacd Add Mesh ConvexDecompositionSettings wrapper 2023-04-07 22:39:25 +02:00
vorbis Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
webp libwebp: Sync with upstream 1.3.0 2023-01-25 10:38:03 -03:00
webrtc Validate code tags in documentation for potential params 2023-04-26 21:36:04 +02:00
websocket Validate code tags in documentation for potential params 2023-04-26 21:36:04 +02:00
webxr Validate code tags in documentation for potential params 2023-04-26 21:36:04 +02:00
xatlas_unwrap One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
zip Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
modules_builders.py SCons: Improve logic to generate modules_tests.gen.h 2022-02-08 13:01:35 +01:00
register_module_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub SCons: Improve logic to generate modules_tests.gen.h 2022-02-08 13:01:35 +01:00