diff --git a/src/play_clj/math.clj b/src/play_clj/math.clj new file mode 100644 index 0000000..abd9934 --- /dev/null +++ b/src/play_clj/math.clj @@ -0,0 +1,8 @@ +(ns play-clj.math + (:import [com.badlogic.gdx.math Vector2 Vector3])) + +(defn vector + ([x y] + (Vector2. x y)) + ([x y z] + (Vector3. x y z)))