Add a `perspective3d` free function on the na:: module.