code: def _convert_camera(camera):
      
      result = {
          "name": camera.name,
          "type": "perspective",
          "perspective": {
              "aspectRatio": camera.fov[0] / camera.fov[1],
              "yfov": np.radians(camera.fov[1]),
          },
      }
      return result
docs: Convert a trimesh camera to a GLTF camera.
  
      Parameters
      ------------
      camera : trimesh.scene.cameras.Camera
        Trimesh camera object
  
      Returns
      -------------
      gltf_camera : dict
        Camera represented as a GLTF dict