Code example for Transformation

Methods: getMatrixsetAlpha

0
 
   protected void applyTransformation(float var1, Transformation var2) {
      Camera var3 = this.mCamera;
      if(!this.mReverse) {
         float var4 = 1.0F - var1;
         var2.setAlpha(var4);
      } 
 
      Matrix var5 = var2.getMatrix();
      var3.save();
      if(this.mReverse) {
         float var6 = this.mCenterX * var1;
         float var7 = this.mCenterY * var1;
         float var8 = this.mDepthZ * var1;
         var3.translate(var6, var7, var8);
      } else { 
         float var9 = this.mCenterX;
         float var10 = this.mMoveX * var1;
         float var11 = var9 + var10;
         float var12 = this.mCenterY;
Experience pair programming with AI  Get Codota for Java