Class: Raylib::Vector2
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Raylib::Vector2
- Defined in:
- lib/raylib_main.rb,
lib/raylib_helper.rb
Overview
Math helper
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#set(x, y) ⇒ Object
65 66 67 68 69 |
# File 'lib/raylib_helper.rb', line 65 def set(x, y) self[:x] = x self[:y] = y self end |
#x ⇒ Object
419 |
# File 'lib/raylib_main.rb', line 419 def x = self[:x] |
#x=(v) ⇒ Object
420 |
# File 'lib/raylib_main.rb', line 420 def x=(v) self[:x] = v end |
#y ⇒ Object
421 |
# File 'lib/raylib_main.rb', line 421 def y = self[:y] |
#y=(v) ⇒ Object
422 |
# File 'lib/raylib_main.rb', line 422 def y=(v) self[:y] = v end |