Module Camera2d

val origin : t
type rect = {
  1. left : Playground.number;
  2. right : Playground.number;
  3. bottom : Playground.number;
  4. top : Playground.number;
}
val view : t -> Playground.shape list -> Playground.shape
val visible : Playground.screen -> t -> rect
val look_at : Playground.number -> Playground.number -> t -> t
val turn_toward : Playground.number -> Playground.number -> t -> t
val clamp : Playground.screen -> rect -> t -> t
val parallax : Playground.number -> t -> t