ianmackenzie / elm-3d-camera / LineSegment3d.Projection

toScreenSpace : Camera3d worldUnits worldCoordinates -> Rectangle2d screenUnits screenCoordinates -> LineSegment3d worldUnits worldCoordinates -> LineSegment2d screenUnits screenCoordinates

Project a line segment from 3D world to 2D screen coordinates. Equivalent to calling Point3d.toScreenSpace on the two endpoints of the line segment.