Start physics
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user