Project

General

Profile

« Previous | Next » 

Revision 7c72e798

Added by Leszek Koltunski over 3 years ago

1) Beginnings of support for using the library from more than one activity
2) rename DistortedLibrary.onCreate() to onSurfaceCreated()
3) (rubik) add Cambodia's flag.

View differences:

src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java
43 43
import org.distorted.library.type.DynamicQuat;
44 44
import org.distorted.library.type.Static3D;
45 45
import org.distorted.library.type.Static4D;
46
import org.distorted.examples.meshfile.FactoryCubit;
47 46

  
48 47
import java.io.DataInputStream;
49 48
import java.io.IOException;
......
138 137

  
139 138
      DistortedLibrary.setMax(EffectType.VERTEX, 16);
140 139

  
141
      DistortedLibrary.onCreate(mView.getContext(), this);
140
      DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
142 141
      }
143 142

  
144 143
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff