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



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

def r = self[:rotation]

#rotationObject



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

def rotation = self[:rotation]

#rotation=(v) ⇒ Object



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

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

#sObject



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

def s = self[:scale]

#scaleObject



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

def scale = self[:scale]

#scale=(v) ⇒ Object



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

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

#tObject



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

def t = self[:translation]

#translationObject



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

def translation = self[:translation]

#translation=(v) ⇒ Object



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

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