Skip to content

Commit

Permalink
potential fix to Issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
modenaxe committed Nov 18, 2021
1 parent 381e205 commit 77be9c4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tool_funcs/applyTorsionToVTPBoneGeom.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@

% Deforms points and normals
disp(' - applying torsion to points and normals');
for n = 1:size(points,1)

% initialize (required for multiple vtp vones)
% thanks to Axel Koussou!
new_points=[];
new_normals=[];

for n = 1:size(points,1)
% compute torsion matrix
TorsRotMat = RotMat(torsion_angle_func_rad(points(n,axis_ind)));

Expand Down

0 comments on commit 77be9c4

Please sign in to comment.