peng3d/resource.py
def getModel(self,name):
        """
        Gets the model object by the given name.
        
        If it was loaded previously, a cached version will be returned.
        If it was not loaded, it will be loaded and inserted into the cache.
        """
        if name in self.modelobjcache:
            return self.modelobjcache[name]
        return self.loadModel(name)
def getModel(self,name):
        if name in self.modelobjcache:
            return self.modelobjcache[name]
        return self.loadModel(name)
def getModel ( self , name ) : if name in self . modelobjcache : return self . modelobjcache [ name ] return self . loadModel ( name )
Gets the model object by the given name.
        
        If it was loaded previously, a cached version will be returned.
        If it was not loaded, it will be loaded and inserted into the cache.
Gets the model object by the given name . If it was loaded previously a cached version will be returned . If it was not loaded it will be loaded and inserted into the cache .