Commit 63ea28a5 authored by matecellab's avatar matecellab
Browse files

fixed bug (old call to lsm_get_ellip...

parent 313c64c1
......@@ -54,7 +54,7 @@ for b = 1:numel(basil)
V = bas_cylSurfPatch(Vcs,npatch);
Vall{q} = V;
[~,com(1:3,q),~,ev,~] = lsm_get_ellipsoid(V);
[com, ev] = bas_getIndDir(V);
bonedirs(1:3,q) = ev(:,abs(ev(3,:)) == max(abs(ev(3,:))));
end
Vip = Vall{1}-repmat(com(:,1)',size(Vall{1},1),1); % pre-load
......
Markdown is supported
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