Project

General

Profile

« Previous | Next » 

Revision e3900503

Added by Leszek Koltunski about 5 years ago

Rename all the classes that are not exported to application to 'Internal'

View differences:

src/main/java/org/distorted/examples/differentbitmaps/DifferentBitmapsRenderer.java
1 1
///////////////////////////////////////////////////////////////////////////////////////////////////
2 2
// Copyright 2016 Leszek Koltunski                                                               //
3 3
//                                                                                               //
4
// This file is part of Distorted.                                                               //
4
// This file is part of DistortedLibrary.                                                               //
5 5
//                                                                                               //
6
// Distorted is free software: you can redistribute it and/or modify                             //
6
// DistortedLibrary is free software: you can redistribute it and/or modify                             //
7 7
// it under the terms of the GNU General Public License as published by                          //
8 8
// the Free Software Foundation, either version 2 of the License, or                             //
9 9
// (at your option) any later version.                                                           //
10 10
//                                                                                               //
11
// Distorted is distributed in the hope that it will be useful,                                  //
11
// DistortedLibrary is distributed in the hope that it will be useful,                                  //
12 12
// but WITHOUT ANY WARRANTY; without even the implied warranty of                                //
13 13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                 //
14 14
// GNU General Public License for more details.                                                  //
15 15
//                                                                                               //
16 16
// You should have received a copy of the GNU General Public License                             //
17
// along with Distorted.  If not, see <http://www.gnu.org/licenses/>.                            //
17
// along with DistortedLibrary.  If not, see <http://www.gnu.org/licenses/>.                            //
18 18
///////////////////////////////////////////////////////////////////////////////////////////////////
19 19

  
20 20
package org.distorted.examples.differentbitmaps;
......
31 31
import org.distorted.library.effect.MatrixEffectScale;
32 32
import org.distorted.library.effect.VertexEffectDistort;
33 33
import org.distorted.library.effect.VertexEffectSink;
34
import org.distorted.library.main.Distorted;
34
import org.distorted.library.main.DistortedLibrary;
35 35
import org.distorted.library.main.DistortedScreen;
36 36
import org.distorted.library.main.DistortedTexture;
37 37
import org.distorted.library.main.DistortedEffects;
......
74 74
      mEffects = new DistortedEffects[NUM];
75 75
      mEffects[0] = new DistortedEffects();
76 76
      for(int i=1; i<NUM; i++)
77
        mEffects[i] = new DistortedEffects(mEffects[0], Distorted.CLONE_VERTEX|Distorted.CLONE_FRAGMENT);
77
        mEffects[i] = new DistortedEffects(mEffects[0], DistortedLibrary.CLONE_VERTEX| DistortedLibrary.CLONE_FRAGMENT);
78 78

  
79 79
      // Add the effects only to the first queue - all VERTEX and FRAGMENT effects are shared!
80 80
      // (Matrix effect cannot be shared as we have to display each Texture in a different location)
......
196 196

  
197 197
     try
198 198
       {
199
       Distorted.onCreate(mView.getContext());
199
       DistortedLibrary.onCreate(mView.getContext());
200 200
       }
201 201
     catch(Exception ex)
202 202
       {

Also available in: Unified diff