Skip to content

Conversation

@gkjohnson
Copy link
Collaborator

@gkjohnson gkjohnson commented Dec 10, 2023

Fixed #26916

Description

This PR recomputes the quad positions for world unit Line2 so it properly encapsulates the capsule. Here's an example of a case with a line at a skewed position that would have been clipped off previously.

image

Demo: https://raw.githack.com/gkjohnson/three.js/line-world-unit-fix/examples/webgl_lines_fat.html

@gkjohnson gkjohnson added this to the r160 milestone Dec 10, 2023
@Mugen87 Mugen87 merged commit ca7261b into mrdoob:dev Dec 11, 2023
@gkjohnson gkjohnson deleted the line-world-unit-fix branch December 11, 2023 10:17
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
* Fix containing cube

* Sceenshot update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LinesSegments with World Units have Visible Artifacts from Various Angles (Fat Lines Example)

2 participants