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
274 |
# File 'lib/raylib_helper.rb', line 274 def r = self[:rotation] |
#rotation ⇒ Object
826 |
# File 'lib/raylib_main.rb', line 826 def rotation = self[:rotation] |
#rotation=(v) ⇒ Object
827 |
# File 'lib/raylib_main.rb', line 827 def rotation=(v) self[:rotation] = v end |
#s ⇒ Object
275 |
# File 'lib/raylib_helper.rb', line 275 def s = self[:scale] |
#scale ⇒ Object
828 |
# File 'lib/raylib_main.rb', line 828 def scale = self[:scale] |
#scale=(v) ⇒ Object
829 |
# File 'lib/raylib_main.rb', line 829 def scale=(v) self[:scale] = v end |
#t ⇒ Object
273 |
# File 'lib/raylib_helper.rb', line 273 def t = self[:translation] |
#translation ⇒ Object
824 |
# File 'lib/raylib_main.rb', line 824 def translation = self[:translation] |
#translation=(v) ⇒ Object
825 |
# File 'lib/raylib_main.rb', line 825 def translation=(v) self[:translation] = v end |