Start physics

This commit is contained in:
oakes
2014-01-15 16:00:39 -05:00
parent 9208eca36c
commit 868fabc3ed
2 changed files with 28 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
(ns play-clj.utils
(:require [clojure.string :as s])
(:import [com.badlogic.gdx.graphics.g2d TextureRegion]
[com.badlogic.gdx.math Vector2 Vector3]
[com.badlogic.gdx.scenes.scene2d Actor]
[com.badlogic.gdx.utils Array ArrayMap]))
@@ -67,6 +68,12 @@
(.put amap k v))
amap))
(defn gdx-vector
([x y]
(Vector2. x y))
([x y z]
(Vector3. x y z)))
; java interop
(defmacro call!