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



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

def direction = self[:direction]

#direction=(v) ⇒ Object



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

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

#positionObject



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

def position = self[:position]

#position=(v) ⇒ Object



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

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