Module Slope

type surface = {
  1. solid : bool array;
  2. angle : Playground.number;
}
type mode =
  1. | Floor
  2. | Right_wall
  3. | Ceiling
  4. | Left_wall
val mode_of : Playground.number -> mode
val ground : tiles:((int * int) -> surface option) -> size:int -> ?reach:int -> mode -> (Playground.number * Playground.number) -> (Playground.number * Playground.number) option
val block : int -> surface
val slope : int -> from_:int -> to_:int -> surface
val ring : int -> cx:Playground.number -> cy:Playground.number -> radius:Playground.number -> thickness:Playground.number -> inside:bool -> surface
val empty : int -> surface