Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit

Permalink
Initialize double constants with 10.0
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed Jul 1, 2022
1 parent edcf104 commit 38fdb50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gazebo/rendering/LensFlare.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace gazebo

/// \brief Number of steps to take in each direction when checking for
/// occlusion.
public: double occlusionSteps = 10;
public: double occlusionSteps = 10.0;
};

//////////////////////////////////////////////////
Expand Down Expand Up @@ -368,7 +368,7 @@ namespace gazebo
= ignition::math::Vector3d(1.0, 1.0, 1.0);

/// \brief Color of lens flare.
public: double lensFlareOcclusionSteps = 10;
public: double lensFlareOcclusionSteps = 10.0;

/// \brief Compositor name to be used for lens flare
public: std::string compositorName = "CameraLensFlare/Default";
Expand Down
2 changes: 1 addition & 1 deletion plugins/LensFlareSensorPlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace gazebo
= ignition::math::Vector3d(1.4, 1.2, 1.0);

/// \brief Lens flare occlusion steps
public: double occlusionSteps = 10;
public: double occlusionSteps = 10.0;

/// \brief Lens flare compositor name
public: std::string compositorName;
Expand Down

0 comments on commit 38fdb50

Please sign in to comment.