def getReticlePoint(self, pos, direction):
        """
        Calculates the position of the reticle.
        Called by drawTerrainReticle.
        """
        if self.draggedPositions:
            direction = self.draggedDirection
        return map(lambda a, b: a + (b * self.reticleOffset), pos, direction)

        Calculates the position of the reticle.
        Called by drawTerrainReticle.
        
editortools/brush.py