Skip to content

Commit

Permalink
update light visual size (gazebosim#306)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Apr 16, 2021
1 parent 997512d commit 7b9ac81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ignition/rendering/base/BaseLightVisual.hh
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ namespace ignition
{
double angles[2];
double range = 0.2;
angles[0] = range * tan(outerAngle);
angles[1] = range * tan(innerAngle);
angles[0] = range * tan(outerAngle / 2.0);
angles[1] = range * tan(innerAngle / 2.0);

unsigned int i = 0;
positions.emplace_back(ignition::math::Vector3d(0, 0, 0));
Expand Down

0 comments on commit 7b9ac81

Please sign in to comment.