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



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

def direction = self[:direction]

#direction=(v) ⇒ Object



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

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

#positionObject



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

def position = self[:position]

#position=(v) ⇒ Object



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

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