package ocamlsdl2

  1. Overview
  2. Docs
type t = Sdlrect.t = {
  1. x : int;
  2. y : int;
  3. w : int;
  4. h : int;
}
val make : pos:(int * int) -> dims:(int * int) -> t
val make1 : (int * int * int * int) -> t
val make2 : pos:(int * int) -> dims:(int * int) -> t
val make4 : x:int -> y:int -> w:int -> h:int -> t
val move : t -> x:int -> y:int -> t
val has_intersection : a:t -> b:t -> bool
OCaml

Innovation. Community. Security.