package raylib

  1. Overview
  2. Docs
type t'
type t = t' ctyp
val t : t Ctypes.typ
val projection : t -> Matrix.t Ctypes_static.carray

VR projection matrices (per eye)

val view_offset : t -> Matrix.t Ctypes_static.carray

VR view offset matrices (per eye)

val left_lens_center : t -> float Ctypes_static.carray

VR left lens center

val right_lens_center : t -> float Ctypes_static.carray

VR right lens center

val left_screen_center : t -> float Ctypes_static.carray

VR left screen center

val right_screen_center : t -> float Ctypes_static.carray

VR right screen center

val scale : t -> float Ctypes_static.carray

VR distortion scale

val scale_in : t -> float Ctypes_static.carray

VR distortion scale in

val set_projection : t -> Matrix.t -> Matrix.t -> unit
val set_view_offset : t -> Matrix.t -> Matrix.t -> unit
val set_left_lens_center : t -> float -> float -> unit
val set_right_lens_center : t -> float -> float -> unit
val set_left_screen_center : t -> float -> float -> unit
val set_right_screen_center : t -> float -> float -> unit
val set_scale : t -> float -> float -> unit
val set_scale_in : t -> float -> float -> unit
OCaml

Innovation. Community. Security.