Skip to content

Commit

Permalink
refs 2182: Use specularCoefficient
Browse files Browse the repository at this point in the history
Use specularCoefficient for spring visualization in SpringDamperParallel
  • Loading branch information
beutlich committed Feb 20, 2017
1 parent 36d6b99 commit 0d64526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modelica/Mechanics/MultiBody/Forces.mo
Expand Up @@ -2200,8 +2200,7 @@ ALT=\"model Examples.Elementary.SpringWithMass\">
lengthDirection=e_a,
widthDirection={0,1,0},
r=frame_a.r_0,
R=frame_a.R) if
world.enableAnimation and animation;
R=frame_a.R) if world.enableAnimation and animation;
Visualizers.Advanced.Shape shape_b(
shapeType="cylinder",
color=color_b,
Expand Down Expand Up @@ -2322,6 +2321,7 @@ where a mass is hanging on a damper.
Visualizers.Advanced.Shape shape(
shapeType="spring",
color=color,
specularCoefficient=specularCoefficient,
length=s,
width=width,
height=coilWidth*2,
Expand Down

0 comments on commit 0d64526

Please sign in to comment.