Skip to content

Instantly share code, notes, and snippets.

View worrel's full-sized avatar

Rory Douglas worrel

View GitHub Profile
@worrel
worrel / repl.clj
Last active August 28, 2016 16:00
(require '[arcadia.core :as a])
(require '[arcadia.linear :as l])
(require '[simple :as as])
(import [UnityEngine Vector3 Transform Rigidbody GameObject Time])
(def cube (a/create-primitive :cube))
(def camera (a/object-named "Main Camera"))
(def cam-xform (a/cmpt camera Transform))
(a/cmpt+ cube Rigidbody)