godot-module-template/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
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
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
enet Validate code tags in documentation for potential params 2023-04-26 21:36:04 +02:00
etcpak
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
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
jpg
jsonrpc
lightmapper_rd
mbedtls
meshoptimizer
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
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
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
theora Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
tinyexr
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
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
zip Bump version to 4.1-dev 2023-03-01 01:44:37 +01:00
modules_builders.py
register_module_types.h
SCsub