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



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

def r = self[:rotation]

#rotationObject



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

def rotation = self[:rotation]

#rotation=(v) ⇒ Object



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

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

#sObject



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

def s = self[:scale]

#scaleObject



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

def scale = self[:scale]

#scale=(v) ⇒ Object



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

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

#tObject



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

def t = self[:translation]

#translationObject



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

def translation = self[:translation]

#translation=(v) ⇒ Object



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

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