public static OgexRotation create( Kind kind, Object data ) {
        switch( kind ) {
            case X:
            case Y:
            case Z:
                return new ComponentRotation(kind, (Float)data);
            case Axis:
                return new AxisRotation(kind, (float[])data);
            case Quaternion:
                return new QuaternionRotation(kind, (float[])data);
        }
        return null;
    }