acces PMatrix
              in 
             Programming Questions 
              •  
              26 days ago    
            
 
           
             I want to learn more about matrixes.
            
How can i get either the current PMatrix2D or PMatrix3D?
            
             I know there is printMatrix() but i want the object itself.
            
            
             Specially i want to experiment with 
             multX and 
             multY. 
             
             
              
             
             
              
               
              
             
            
            
              And why are there so many?
             
             - // All the matrices required for camera and geometry transformations.
- public PMatrix3D projection;
- public PMatrix3D camera;
- public PMatrix3D cameraInv;
- public PMatrix3D modelview;
- public PMatrix3D modelviewInv;
- public PMatrix3D projmodelview;
             The code really lacks of comments. I'm guessing a projection get's first aplied and as last the camera.
            
            
             But what are cameraInv, modelbiew, modelviewInv and projmodelview good for?
            
            
             Hope someone can helps and explain a bit. 
            
 
            
              
              1  
            
 
            
 
 
          