Permalink
Browse files

Don't test for triangulation if face-length below 3.

  • Loading branch information...
Shinmera committed Aug 5, 2017
1 parent 1b693c1 commit 18e4df44f4c9a3c9d548d7b07764156e0aab6246
Showing with 1 addition and 1 deletion.
  1. +1 −1 geometry.lisp
View
@@ -38,7 +38,7 @@
(push-mesh-vertex (apply #'make-instance (vertex-type mesh) initargs) mesh))
(defmethod triangulate ((mesh vertex-mesh))
(unless (= 3 (face-length mesh))
(when (< 3 (face-length mesh))
(error "Triangulation is not yet implemented."))
mesh)

0 comments on commit 18e4df4

Please sign in to comment.