project

fun project(direction: Vec3, pose: CameraPose, focalPx: Float, width: Float, height: Float): ScreenPoint?(source)

Pinhole projection of direction onto a width x height view with focal length focalPx, or null when it is behind the camera.