Module Raylib.Ray

type t'
type t = t' ctyp
val t : t Ctypes.typ
val create : Vector3.t -> Vector3.t -> t

create position direction

val position : t -> Vector3.t

Ray position (origin)

val direction : t -> Vector3.t

Ray direction

val set_position : t -> Vector3.t -> unit
val set_direction : t -> Vector3.t -> unit