Commit cde010d0 authored by Dave Cooper's avatar Dave Cooper
Browse files

added total-length for arcoid-mixin

parent 8412c87f
......@@ -46,6 +46,9 @@ For developers it should be used as a mixin.")
(end-angle-normalized (apply #'max (the angles-normalized)))
(start-to-end-angle (- (the end-angle-normalized) (the start-angle-normalized)))
(total-length (* (the radius) (the start-to-end-angle)))
(%arcs% (list self)))
......@@ -62,6 +62,8 @@ by specifying a start point and an end point."
("Number. The distance from start to end of the line."
length (3d-distance (the :start) (the :end)))
(total-length (the length))
("3D Vector. Points from start to end of the line."
direction-vector (subtract-vectors (the :end) (the :start)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment