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



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

def direction = self[:direction]

#direction=(v) ⇒ Object



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

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

#positionObject



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

def position = self[:position]

#position=(v) ⇒ Object



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

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