Skip to content

Commit

Permalink
Rename to densityLead
Browse files Browse the repository at this point in the history
Signed-off-by: Atharva Pusalkar <[email protected]>
  • Loading branch information
atharva-18 committed Jun 25, 2021
1 parent 59afa12 commit aee5617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ignition/rendering/base/BaseCOMVisual.hh
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ namespace ignition
{
// Compute radius of sphere with density of lead and equivalent mass.
double sphereRadius;
double dLead = 11340;
sphereRadius = cbrt((0.75 * this->Mass()) / (IGN_PI * dLead));
double densityLead = 11340;
sphereRadius = cbrt((0.75 * this->Mass()) / (IGN_PI * densityLead));

return sphereRadius;
}
Expand Down

0 comments on commit aee5617

Please sign in to comment.