Commit d9bbfdc0 authored by Mark van Turnhout's avatar Mark van Turnhout
Browse files

rebase commits

parents 1e2a1807 3e2e120f
......@@ -51,11 +51,12 @@ for b = 1:numel(basil)
strcat('contour_bone',savenames{q},'-ncc.mat')));
% Create mesh from contours
V = bas_cylSurfPatch(Vcs,npatch);
V = bas_cylSurfPatch(Vcs,npatch);
Vall{q} = V;
[com(1:3,q), 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
Vil = Vall{2}-repmat(com(:,2)',size(Vall{2},1),1); % during 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