def resize(self, w, h):
        """
        Used when resizing the plane, resets the plane ratio factor.

        :param w: New width of the visible section of the plane.
        :param h: New height of the visible section of the plane.
        """
        self.plane_w = w
        self.plane_h = h
        self.plane_ratio = self.char_ratio * w / h

        if self.crosshairs:
            self.crosshairs_coord = ((w + 2) // 2, (h + 2) // 2)
Used when resizing the plane, resets the plane ratio factor.

        :param w: New width of the visible section of the plane.
        :param h: New height of the visible section of the plane.