summaryrefslogtreecommitdiff
path: root/altoslib/AltosRotation.java
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2016-06-17 10:02:00 -0600
committerBdale Garbee <bdale@gag.com>2016-06-17 10:02:00 -0600
commit085336c45ce0577031a7af5de117a8b856160708 (patch)
tree13a145eab69e38f2658359fa8395e7257b3c3fb9 /altoslib/AltosRotation.java
parent50c9a54ac6b04458970eedfa6d3e0e25f41c765f (diff)
parent639e461ded29a48c155afea12171cbfc191ccfd7 (diff)
Merge branch 'branch-1.6' into debian
Diffstat (limited to 'altoslib/AltosRotation.java')
-rw-r--r--altoslib/AltosRotation.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/altoslib/AltosRotation.java b/altoslib/AltosRotation.java
index e53a3a49..97cf7896 100644
--- a/altoslib/AltosRotation.java
+++ b/altoslib/AltosRotation.java
@@ -15,9 +15,9 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.altoslib_10;
+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();
+ }
}