Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/geom3d/vector.rb
Instance Method Summary collapse
Instance Method Details
#*(other) ⇒ Object
108 109 110 111 112 113 114 115 |
# File 'lib/geom3d/vector.rb', line 108 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 |
#times_without_geom3d ⇒ Object
106 |
# File 'lib/geom3d/vector.rb', line 106 alias :times_without_geom3d :'*' |