def __mul__(self, other):
    if isinstance(other, (tuple, list)):
        other = Vector(*other)
    if isinstance(other, om.MVector):
        return Vector(other.rotateBy(self))
    else:
        return super(Quaternion, self).__mul__(other)
def __mul__(self, other):
    if isinstance(other, (tuple, list)):
        other = Vector(*other)
    if isinstance(other, om.MVector):
        return Vector(other.rotateBy(self))
    else:
        return super(Quaternion, self).__mul__(other)