ianmackenzie/elm-3d-camera/3.0.0

NOTE: the latest version is 4.0.1

LineSegment3d.Projection

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.