commit ac503d9838783bf40dd2b8c40b47e097f4f89041
Author: Leszek Koltunski <leszek@distoretedandroid.org>
Date:   Fri Jun 3 16:38:07 2016 +0100

    Provide support to add any class derived from DistortedObject to DistortedNode.

diff --git a/src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java b/src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java
index 97b35e4..db52b91 100644
--- a/src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java
+++ b/src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java
@@ -80,7 +80,7 @@ class OlimpicRenderer implements GLSurfaceView.Renderer
           }
       
         mScreen.attach(mCircleNode[i]);
-        tmp = mCircleNode[i].getBitmap();
+        tmp = (DistortedBitmap)mCircleNode[i].getObject();
         tmp.move(positions[2*i], positions[2*i+1], 0);
         tmp.rotate( center, mRot, 0.0f, 0.0f, 1.0f);
         tmp.chroma(0.8f, new Float3D(colors[3*i],colors[3*i+1], colors[3*i+2]));
@@ -101,7 +101,7 @@ class OlimpicRenderer implements GLSurfaceView.Renderer
     
     public void onSurfaceChanged(GL10 glUnused, int width, int height) 
       {
-      DistortedBitmap bmp = mScreen.getBitmap();
+      DistortedBitmap bmp = (DistortedBitmap)mScreen.getObject();
       int bmpWidth  = bmp.getWidth();
       int bmpHeight = bmp.getHeight();
      
