Raylib.Camera2D
type t'
type t = t' ctyp
val t : t Ctypes.typ
val create : Vector2.t -> Vector2.t -> float -> float -> t
create offset target rotation zoom
val offset : t -> Vector2.t
Camera offset (displacement from target)
val target : t -> Vector2.t
Camera target (rotation and zoom origin)
val rotation : t -> float
Camera rotation in degrees
val zoom : t -> float
Camera zoom (scaling), should be 1.0f by default
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