depth : Camera3d units coordinates -> Point3d units coordinates -> Quantity Basics.Float units
Find the 'depth' of a point relative to a camera. This is the signed distance of the point from a plane with:
The returned depth is positive for points in front of the camera and negative for points behind.
toScreenSpace : Camera3d worldUnits worldCoordinates -> Rectangle2d screenUnits screenCoordinates -> Point3d worldUnits worldCoordinates -> Point2d screenUnits screenCoordinates
Project a point from 3D world to 2D screen coordinates, by supplying a rectangle defining the shape and size of a screen. Points directly ahead of the camera will end up in the center of the given screen rectangle.
Note that the projected 2D point may be outside the given rectangle, if the given 3D point is outside the field of view of the given camera.