package raylib

  1. Overview
  2. Docs

Module Raylib.Camera2DSource

Sourcetype t'
Sourcetype t = t' ctyp
Sourceval create : Vector2.t -> Vector2.t -> float -> float -> t

create offset target rotation zoom defines a 2d camera

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

Innovation. Community. Security.