Method: SDL.RectEquals
- Defined in:
- lib/sdl2_rect.rb
.RectEquals(a, b) ⇒ Object
28 29 30 |
# File 'lib/sdl2_rect.rb', line 28 def self.RectEquals(a, b) return (!a.null? && !b.null? && (a.x == b.x) && (a.y == b.y) && (a.w == b.w) && (a.h == b.h)) ? 1 : 0 end |