Skip to content
Snippets Groups Projects
Verified Commit de649169 authored by Thomas Lambert's avatar Thomas Lambert :helicopter:
Browse files

fix(rotor): wrong 3D plot for props (closes #4)

parent fc0b8c54
No related branches found
No related tags found
No related merge requests found
......@@ -227,7 +227,7 @@ function Blades = makerotorblades(self, Blade)
if ~(strcmp(self.appli, 'helicopter'))
for iBl = 1:self.nBlades
for i = 1:length(Blade.x(:, 1))
dummy = roty(90) * [Blades(iBl).x(i, :); Blades(iBl).y(i, :); Blades(iBl).z(i, :)];
dummy = roty(-90) * [Blades(iBl).x(i, :); Blades(iBl).y(i, :); Blades(iBl).z(i, :)];
Blades(iBl).x(i, :) = dummy(1, :);
Blades(iBl).y (i, :) = dummy(2, :);
Blades(iBl).z(i, :) = dummy(3, :);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment