Class: Vector
- Inherits:
-
Object
- Object
- Vector
- Defined in:
- lib/oekaki.rb
Instance Method Summary collapse
Instance Method Details
#to_w(o) ⇒ Object
212 213 214 215 |
# File 'lib/oekaki.rb', line 212 def to_w(o) v = self [o[0] + v[0], o[1] - v[1]] end |