Method: Ray::Rect#top_left
- Defined in:
- lib/ray/rect.rb
#top_left ⇒ Ray::Vector2
Returns top left corner.
44 45 46 |
# File 'lib/ray/rect.rb', line 44 def top_left Ray::Vector2[x, y] end |
Returns top left corner.
44 45 46 |
# File 'lib/ray/rect.rb', line 44 def top_left Ray::Vector2[x, y] end |