Class: Raylib::Transform

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/raylib_main.rb,
lib/raylib_helper.rb

Overview

Transform helper

Instance Method Summary collapse

Instance Method Details

#rObject



170
# File 'lib/raylib_helper.rb', line 170

def r = self[:rotation]

#rotationObject



824
# File 'lib/raylib_main.rb', line 824

def rotation = self[:rotation]

#rotation=(v) ⇒ Object



825
# File 'lib/raylib_main.rb', line 825

def rotation=(v) self[:rotation] = v end

#sObject



171
# File 'lib/raylib_helper.rb', line 171

def s = self[:scale]

#scaleObject



826
# File 'lib/raylib_main.rb', line 826

def scale = self[:scale]

#scale=(v) ⇒ Object



827
# File 'lib/raylib_main.rb', line 827

def scale=(v) self[:scale] = v end

#tObject



169
# File 'lib/raylib_helper.rb', line 169

def t = self[:translation]

#translationObject



822
# File 'lib/raylib_main.rb', line 822

def translation = self[:translation]

#translation=(v) ⇒ Object



823
# File 'lib/raylib_main.rb', line 823

def translation=(v) self[:translation] = v end