lib/mageo/vector3dinternal.rb in mageo-0.0.4 vs lib/mageo/vector3dinternal.rb in mageo-0.0.5

- old
+ new

@@ -21,10 +21,10 @@ class TypeError < Exception; end #要素数3以外では例外 Mageo::Vector3DInternalSizeError を発生。 def self.[]( *args ) raise RangeError unless args.size == 3 - super *args + super(*args) end ## Return order of vector. In this class, always three. #def size # return 3