peng3d/world.py
def addCamera(self,camera):
        """
        Add the camera to the internal registry.
        
        Each camera name must be unique, or else only the most recent version will be used. This behavior should not be relied on because some objects may cache objects.
        
        Additionally, only instances of :py:class:`Camera() <peng3d.camera.Camera>` may be used, everything else raises a :py:exc:`TypeError`\ .
        """
        if not isinstance(camera,Camera):
            raise TypeError("camera is not of type Camera!")
        self.cameras[camera.name]=camera
def addCamera(self,camera):
        """
        Add the camera to the internal registry.
        
        Each camera name must be unique, or else only the most recent version will be used. This behavior should not be relied on because some objects may cache objects.
        
        Additionally, only instances of :py:class:`Camera() <peng3d.camera.Camera>` may be used, everything else raises a :py:exc:`TypeError`\ .
        """
        if not isinstance(camera,Camera):
            raise TypeError("camera is not of type Camera!")
        self.cameras[camera.name]=camera
Add the camera to the internal registry.
        
        Each camera name must be unique, or else only the most recent version will be used. This behavior should not be relied on because some objects may cache objects.
        
        Additionally, only instances of :py:class:`Camera() <peng3d.camera.Camera>` may be used, everything else raises a :py:exc:`TypeError`\ .