Something went wrong. Try again.
A music player that connects to your cloud/distributed storage. forked from tokono.ma/diffuse
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930module Coordinates exposing (..)
-- 🌳
type alias Coordinates = { x : Float, y : Float }
type alias Viewport = { height : Float , width : Float }
-- 🔱
fromTuple : ( Float, Float ) -> CoordinatesfromTuple ( x, y ) = { x = x , y = y }
toTuple : Coordinates -> ( Float, Float )toTuple { x, y } = ( x, y )