lib/ruby_on_rays/point3.rb
# Translates the point by the vector. Mutates self.
# @param rhs [Vector3]
# @return [self]
Translates the point by the vector. Mutates self.
Translates the point by the vector . Mutates self .
def sub!(rhs)
      @x -= rhs.x
      @y -= rhs.y
      @z -= rhs.z
      self
    end
def sub! ( rhs ) @x -= rhs . x @y -= rhs . y @z -= rhs . z self end
Translates the point by the vector.
Translates the point by the vector .
None
self
rhs
<not_specific>
<not_specific>
None