Skip to content

Commit

Permalink
Match output type on normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Feb 22, 2024
1 parent 42ad350 commit 93560c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifolds.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
(vector-push-extend i2 new-indices)
(vector-push-extend i3 new-indices))))
(values (replace (make-array (length new-vertices) :element-type ',vertex-component-type) new-vertices)
(replace (make-array (length new-indices) :element-type 'u32) new-indices))))))
(replace (make-array (length new-indices) :element-type (array-element-type indices)) new-indices))))))
(etypecase (aref vertices 0)
(single-float (compute single-float))
(double-float (compute double-float)))))
Expand Down

0 comments on commit 93560c8

Please sign in to comment.