# File lib/eymiha/math3/quaternion.rb, line 44 def set(axis=origin,real=0) if axis.kind_of? Quaternion set axis.axis, axis.real elsif axis.point3_like? (@axis ||= point3).set(axis) @real = real else raise_no_conversion(self.class.name,axis) end self end