Class: Raylib::Transform
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Raylib::Transform
- Defined in:
- lib/raylib_main.rb,
lib/raylib_helper.rb
Overview
Transform helper
Instance Method Summary collapse
- #r ⇒ Object
- #rotation ⇒ Object
- #rotation=(v) ⇒ Object
- #s ⇒ Object
- #scale ⇒ Object
- #scale=(v) ⇒ Object
- #t ⇒ Object
- #translation ⇒ Object
- #translation=(v) ⇒ Object
Instance Method Details
#r ⇒ Object
290 |
# File 'lib/raylib_helper.rb', line 290 def r = self[:rotation] |
#rotation ⇒ Object
839 |
# File 'lib/raylib_main.rb', line 839 def rotation = self[:rotation] |
#rotation=(v) ⇒ Object
840 |
# File 'lib/raylib_main.rb', line 840 def rotation=(v) self[:rotation] = v end |
#s ⇒ Object
291 |
# File 'lib/raylib_helper.rb', line 291 def s = self[:scale] |
#scale ⇒ Object
841 |
# File 'lib/raylib_main.rb', line 841 def scale = self[:scale] |
#scale=(v) ⇒ Object
842 |
# File 'lib/raylib_main.rb', line 842 def scale=(v) self[:scale] = v end |
#t ⇒ Object
289 |
# File 'lib/raylib_helper.rb', line 289 def t = self[:translation] |
#translation ⇒ Object
837 |
# File 'lib/raylib_main.rb', line 837 def translation = self[:translation] |
#translation=(v) ⇒ Object
838 |
# File 'lib/raylib_main.rb', line 838 def translation=(v) self[:translation] = v end |