]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/contrib/shape_android/src/org/ocera/orte/shape_android/BoxType.java
shape_android: do not enforce ByteOrder
[orte.git] / orte / contrib / shape_android / src / org / ocera / orte / shape_android / BoxType.java
index 417e4da2e7722c0d8e544eec5c3d511a7c82904f..a51f3e7f189d48408c09ee89343cde39e7d3c997 100644 (file)
@@ -33,8 +33,8 @@ import android.util.Log;
  */
 public class BoxType extends MessageData
 {
-       private static final double DESTINATION_WIDTH = 367.0; //389.0;
-       private static final double DESTINATION_HEIGHT = 261.0; //331.0;
+       public static final double DESTINATION_WIDTH = 367.0; // empirically, in real it's 389.0;
+       public static final double DESTINATION_HEIGHT = 261.0; // empirically, in real it's 331.0;
        
        public int color;
        public int shape;
@@ -59,7 +59,6 @@ public class BoxType extends MessageData
                }
                
                this.allowScaling = true;
-               this.buffer.order(null); // set buffer to Little endian (Shape uses this)
        }
 
        /* (non-Javadoc)