lib/ruby_on_rays/vector2.rb
def add!(rhs)
      @x += rhs.x
      @y += rhs.y
      self
    end
# Adds a vector to self.
# @param rhs [Vector3]
# @return [self]
Adds a vector to self.
Adds a vector to self .
def add!(rhs)
      @x += rhs.x
      @y += rhs.y
      self
    end
def add! ( rhs ) @x += rhs . x @y += rhs . y self end
Adds a vector to self.
Adds a vector to self .
None
self
rhs
None