package raylib

  1. Overview
  2. Docs
type t'
type t = t' ctyp
val create : Vector2.t -> Vector2.t -> float -> float -> t

create offset target rotation zoom defines a 2d camera

val offset : t -> Vector2.t
val target : t -> Vector2.t
val rotation : t -> float
val zoom : t -> float
val set_offset : t -> Vector2.t -> unit
val set_target : t -> Vector2.t -> unit
val set_rotation : t -> float -> unit
val set_zoom : t -> float -> unit
OCaml

Innovation. Community. Security.