parameters: (
      fisheye62: pygeometry.Camera,
  )
return_statement: return camera
docstring: Create a perspective camera from a fisheye extended.
docstring_summary: Create a perspective camera from a fisheye extended.
docstring_tokens: Create a perspective camera from a fisheye extended .
function: def perspective_camera_from_fisheye62(
      fisheye62: pygeometry.Camera,
  ) -> pygeometry.Camera:
      """Create a perspective camera from a fisheye extended."""
      camera = pygeometry.Camera.create_perspective(
          fisheye62.focal * (1 + fisheye62.aspect_ratio) / 2.0, 0.0, 0.0
      )
      camera.id = fisheye62.id
      camera.width = fisheye62.width
      camera.height = fisheye62.height
      return camera
function_tokens: def perspective_camera_from_fisheye62 ( fisheye62 : pygeometry . Camera , ) -> pygeometry . Camera : camera = pygeometry . Camera . create_perspective ( fisheye62 . focal * ( 1 + fisheye62 . aspect_ratio ) / 2.0 , 0.0 , 0.0 ) camera . id = fisheye62 . id camera . width = fisheye62 . width camera . height = fisheye62 . height return camera