Coerce bundle entities into a vector
This commit is contained in:
@@ -17,7 +17,7 @@ override the equivalent keys in each entity when being drawn.
|
|||||||
(assoc (bundle (shape :filled) (shape :line))
|
(assoc (bundle (shape :filled) (shape :line))
|
||||||
:x 100 :y 100)"
|
:x 100 :y 100)"
|
||||||
[& entities]
|
[& entities]
|
||||||
(BundleEntity. entities))
|
(BundleEntity. (vec entities)))
|
||||||
|
|
||||||
(defn bundle?
|
(defn bundle?
|
||||||
"Returns true if `entity` is a `bundle`."
|
"Returns true if `entity` is a `bundle`."
|
||||||
|
|||||||
Reference in New Issue
Block a user