Bump android version to 13
[fw/altos] / altoslib / AltosRotation.java
index 411ecbdfae7edd530fc4fd7e1c684499f053b65f..97cf78967921f8bb10bc1c0d45bb8c7bc0969345 100644 (file)
@@ -17,7 +17,7 @@
 
 package org.altusmetrum.altoslib_11;
 
-public class AltosRotation {
+public class AltosRotation extends AltosQuaternion {
        private AltosQuaternion         rotation;
 
        public double tilt() {
@@ -47,4 +47,8 @@ public class AltosRotation {
                AltosQuaternion up = new AltosQuaternion(0, 0, 0, sky);
                rotation = up.vectors_to_rotation(orient);
        }
+
+       public AltosRotation() {
+               rotation = new AltosQuaternion();
+       }
 }