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

#r ⇒ Object



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

def r = self[:rotation]

#rotation ⇒ Object



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

def rotation = self[:rotation]

#rotation=(v) ⇒ Object



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

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

#s ⇒ Object



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

def s = self[:scale]

#scale ⇒ Object



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

def scale = self[:scale]

#scale=(v) ⇒ Object



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

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

#t ⇒ Object



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

def t = self[:translation]

#translation ⇒ Object



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

def translation = self[:translation]

#translation=(v) ⇒ Object



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

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