Skip to content

LineSegmentIntersectionWGSL

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/webgpu/wgsl/math/LineSegmentIntersectionWGSL.ts for the most up-to-date information.

Overview

Struct for an intersection between two line segments. Two points needed, in case of partial overlap.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Source Code

See the source for LineSegmentIntersectionWGSL.ts in the alpenglow repository.