Add math
This commit is contained in:
8
src/play_clj/math.clj
Normal file
8
src/play_clj/math.clj
Normal file
@@ -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)))
|
||||
Reference in New Issue
Block a user