Faces from a mesh: Difference between revisions

Content added Content deleted
Line 344: Line 344:
<lang Phix>function perequiv(sequence a, b)
<lang Phix>function perequiv(sequence a, b)
-- Works by aligning and rotating in one step, so theoretically much faster on massive sets.
-- Works by aligning and rotating in one step, so theoretically much faster on massive sets.
-- (ahem, faster than multiple rotates, index-only would obviously be even faster...)
bool res = (length(a)==length(b))
bool res = (length(a)==length(b))
if res and length(a)>0 then
if res and length(a)>0 then