class Fixnum

Public Instance Methods

*(other) click to toggle source
# File lib/geom3d/vector.rb, line 82
def * other
  case other
  when Geom3d::Vector
    Geom3d::Vector.new(self * other.dx, self * other.dy, self * other.dz)
  else
    self.times_without_geom3d(other)
  end
end