package raylib

  1. Overview
  2. Docs

Module Raylib.RaySource

Sourcetype t'
Sourcetype t = t' ctyp
Sourceval t : t Ctypes.typ
Sourceval create : Vector3.t -> Vector3.t -> t

create position direction

Sourceval position : t -> Vector3.t

Ray position (origin)

Sourceval direction : t -> Vector3.t

Ray direction

Sourceval set_position : t -> Vector3.t -> unit
Sourceval set_direction : t -> Vector3.t -> unit
OCaml

Innovation. Community. Security.