Class: Raylib::Ray

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

Overview

Ray, ray for raycasting

Instance Method Summary collapse

Instance Method Details

#directionObject



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

def direction = self[:direction]

#direction=(v) ⇒ Object



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

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

#positionObject



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

def position = self[:position]

#position=(v) ⇒ Object



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

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