peng3d/model.py
def set_state(self):
        """
        Sets the state required for this vertex region.
        
        Currently binds and enables the texture of the material of the region.
        """
        glEnable(self.region.material.target)
        glBindTexture(self.region.material.target, self.region.material.id)
        self.region.bone.setRotate(self.data)
def set_state(self):
        """
        Sets the state required for this vertex region.
        
        Currently binds and enables the texture of the material of the region.
        """
        glEnable(self.region.material.target)
        glBindTexture(self.region.material.target, self.region.material.id)
        self.region.bone.setRotate(self.data)
def set_state ( self ) : glEnable ( self . region . material . target ) glBindTexture ( self . region . material . target , self . region . material . id ) self . region . bone . setRotate ( self . data )
Sets the state required for this vertex region.
        
        Currently binds and enables the texture of the material of the region.
Sets the state required for this vertex region . Currently binds and enables the texture of the material of the region .