position.clj
Branches > main > 5080ff4 > files / src / net / bowmap / server / position.clj
(ns net.bowmap.server.position
"A position in the world with float x y z yaw and pitch values."
(:require
[clojure.spec.alpha :as s]))
(s/def ::position (s/keys :opt [::x ::y ::z ::yaw ::pitch]))
(s/def ::x float?)
(s/def ::y float?)
(s/def ::z float?)
(s/def ::yaw float?)
(s/def ::pitch float?)