Project

General

Profile

« Previous | Next » 

Revision 08f92d82

Added by Leszek Koltunski almost 8 years ago

Skeleton of the new App: Vertex3D. So far just a copy of Matrix3D.

View differences:

src/main/java/org/distorted/examples/TableOfContents.java
54 54
import org.distorted.examples.cubes.CubesActivity;
55 55
import org.distorted.examples.quaternion.QuaternionActivity;
56 56
import org.distorted.examples.matrix3d.Matrix3DActivity;
57
import org.distorted.examples.vertex3d.Vertex3DActivity;
57 58
import org.distorted.examples.plainmonalisa.PlainMonaLisaActivity;
58 59
import org.distorted.examples.save.SaveActivity;
59 60

  
......
258 259
      activityMapping.put(i++, Matrix3DActivity.class);
259 260
   }
260 261

  
262
   {
263
      final Map<String, Object> item = new HashMap<>();
264
      item.put(ITEM_IMAGE, R.drawable.icon_example_vertex3d);
265
      item.put(ITEM_TITLE, (i+1)+". "+getText(R.string.example_vertex3d));
266
      item.put(ITEM_SUBTITLE, getText(R.string.example_vertex3d_subtitle));
267
      data.add(item);
268
      activityMapping.put(i++, Vertex3DActivity.class);
269
   }
270

  
261 271
   {
262 272
      final Map<String, Object> item = new HashMap<>();
263 273
      item.put(ITEM_IMAGE, R.drawable.icon_example_monalisa);

Also available in: Unified diff