Skip to content

Commit

Permalink
[types] temporarily switch from eduction to sequence until CLJS-1209 …
Browse files Browse the repository at this point in the history
…is fixed
  • Loading branch information
postspectacular committed Apr 27, 2015
1 parent 59e5e9d commit ad819e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion geom-types/src/aabb.org
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ front, back (see diagram below).
(if rt [c d h g])
(if tp [e f g h])
(if bt [a d c b])]
(eduction (filter identity))
(sequence (filter identity)) ;; FIXME eduction
(g/into (or mesh (bm/basic-mesh)))))))
#+END_SRC

Expand Down
3 changes: 1 addition & 2 deletions geom-types/src/cuboid.org
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ front, back - assuming the vertex order given in the diagram.
(if rt [c d h g])
(if tp [e f g h])
(if bt [a d c b])]
(eduction (filter identity))
(sequence (filter identity)) ;; FIXME eduction
(g/into (or mesh (bm/basic-mesh)))))))
#+END_SRC

Expand Down Expand Up @@ -233,7 +233,6 @@ Do not use, work in progress...
(fn [acc f]
(let [p' (g/closest-point (p/plane-from-points f) p)
d (g/dist-squared p p')]
(prn p' d)
(if (< d (acc 1)) [p' d] acc)))
[nil 1e+100])
(first)))
Expand Down
2 changes: 1 addition & 1 deletion geom-types/src/quad.org
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ than 1.0.
(if w [a2 d2 d a])
(if b' [a2 b2 c2 d2])
(if f [d c b a])]
(eduction
(sequence ;; FIXME eduction
(if (neg? dp)
(comp
(filter identity)
Expand Down

0 comments on commit ad819e7

Please sign in to comment.