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