+
+ public AltosRotation(AltosJson j) {
+ rotation = new AltosQuaternion(j);
+ }
+
+ public AltosRotation() {
+ rotation = new AltosQuaternion();
+ }
+
+ public AltosJson json() {
+ return rotation.json();
+ }
+
+ public static AltosRotation fromJson(AltosJson j, AltosRotation def) {
+ if (j == null)
+ return def;
+
+ return new AltosRotation(j);
+ }