Skip to content

Commit

Permalink
follows: coil rotations in degrees
Browse files Browse the repository at this point in the history
as stated in leoliuf#39
  • Loading branch information
Stefano-Orsolini authored Feb 10, 2021
1 parent 5cdcf1f commit 925db24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Macro/CoilElem/CoilRectangle.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
PosX=p.PosX;
PosY=p.PosY;
PosZ=p.PosZ;
Azimuth=p.Azimuth;
Elevation=p.Elevation;
Azimuth=deg2rad(p.Azimuth);
Elevation=deg2rad(p.Elevation);
Length=p.Length;
Width=p.Width;
Scale=p.Scale;
Expand Down Expand Up @@ -58,4 +58,4 @@
E1y = 0;
E1z = 0;

end
end

0 comments on commit 925db24

Please sign in to comment.