Project

General

Profile

« Previous | Next » 

Revision b4050791

Added by Leszek Koltunski over 7 years ago

Fix 'Cat and Dog' APP. Now 24 out of 31 APPs work.

View differences:

src/main/java/org/distorted/library/effect/MatrixEffectRotate.java
113 113
      uniforms[index+6] = mStaticCenter.getZ();
114 114
      }
115 115

  
116
    if( mStatic1 != null )
117
      {
118
      uniforms[index+1] = ((Static3D)mStatic1).getX();
119
      uniforms[index+2] = ((Static3D)mStatic1).getY();
120
      uniforms[index+3] = ((Static3D)mStatic1).getZ();
121
      }
122

  
116 123
    if( mDynamic0!=null )
117 124
      {
118 125
      return mDynamic0.interpolateMain(uniforms,index,currentDuration,step);
......
122 129
      if( mStatic1 != null )
123 130
        {
124 131
        uniforms[index  ] = ((Static1D)mStatic0).getX();
125
        uniforms[index+1] = ((Static3D)mStatic1).getX();
126
        uniforms[index+2] = ((Static3D)mStatic1).getY();
127
        uniforms[index+3] = ((Static3D)mStatic1).getZ();
128 132
        }
129 133
      else
130 134
        {

Also available in: Unified diff