packages/pyglGA/ECSS/System.py
def applyCamera2BasicTransform(self, basicTransform: pyglGA.ECSS.Component.BasicTransform):
        """
        method to be subclassed for  behavioral or logic computation 
        when visits Components. 
        
        In this case calculate the l2w BasicTransform component matrix
        
        """
        if (isinstance(basicTransform,pyglGA.ECSS.Component.BasicTransform)) == False:
            return #in Python due to duck typing we need to check this!
        print(self.getClassName(), ": apply(BasicTransform) called from CameraSystem - Calc: Local2Cam")
        
        #l2world of basicTransform has been calculated by the TransformSystem before this System
        l2w = basicTransform.l2world
        r2c = self._camera.root2cam
        proj = self._camera.projMat
        l2c = l2w @ r2c
        basicTransform.update(l2cam=l2c)

        method to be subclassed for  behavioral or logic computation 
        when visits Components. 
        
        In this case calculate the l2w BasicTransform component matrix
        
        
method to be subclassed for  behavioral or logic computation
when visits Components.

In this case calculate the l2w BasicTransform component matrix
method to be subclassed for behavioral or logic computation when visits Components . In this case calculate the l2w BasicTransform component matrix
def applyCamera2BasicTransform(self, basicTransform: pyglGA.ECSS.Component.BasicTransform):
        if (isinstance(basicTransform,pyglGA.ECSS.Component.BasicTransform)) == False:
            return 
        print(self.getClassName(), ": apply(BasicTransform) called from CameraSystem - Calc: Local2Cam")
        l2w = basicTransform.l2world
        r2c = self._camera.root2cam
        proj = self._camera.projMat
        l2c = l2w @ r2c
        basicTransform.update(l2cam=l2c)
def applyCamera2BasicTransform ( self , basicTransform : pyglGA . ECSS . Component . BasicTransform ) : if ( isinstance ( basicTransform , pyglGA . ECSS . Component . BasicTransform ) ) == False : return print ( self . getClassName ( ) , ": apply(BasicTransform) called from CameraSystem - Calc: Local2Cam" ) l2w = basicTransform . l2world r2c = self . _camera . root2cam proj = self . _camera . projMat l2c = l2w @ r2c basicTransform . update ( l2cam = l2c )
method to be subclassed for  behavioral or logic computation
when visits Components.
method to be subclassed for behavioral or logic computation when visits Components .
"""
        method to be subclassed for  behavioral or logic computation 
        when visits Components. 
        
        In this case calculate the l2w BasicTransform component matrix
        
        """ #in Python due to duck typing we need to check this! #l2world of basicTransform has been calculated by the TransformSystem before this System
self
basicTransform
pyglGA.ECSS.Component.BasicTransform