def make_perspective_projection_fov(self, fov, aspect, near, far):
        """Creates a Matrix44 that projects points in to 2d space

        fov -- The field of view (in radians)
        aspect -- The aspect ratio of the screen (width / height)
        near -- Coordinate of the near clipping plane
        far -- Coordinate of the far clipping plane

        """

        assert fov < pi, "The field of view should be less than pi radians"\
        " (180 degrees)"

        range = near*tan(fov/2.);
        left = -range*aspect
        right = range*aspect
        bottom = -range
        top = range

        #right = tan( fov/2. ) * near
        #left = - right
        #top = right / aspect
        #bottom = -top
        self.make_perspective_projection(left, right, bottom, top, near, far)
        return self
dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/Chapter 10/gameobjects/matrix44.py/Matrix44.make_perspective_projection_fov/original