Skip to content

Commit

Permalink
Revert Particle emitter for cone.
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perseghetti <[email protected]>
  • Loading branch information
bperseghetti committed Jun 3, 2024
1 parent 8deb122 commit daf97e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions include/gz/rendering/ParticleEmitter.hh
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ namespace gz
/// \brief Ellipsoid emitter.
EM_ELLIPSOID = 3,

/// \brief Cone emitter.
EM_CONE = 4,

/// \brief Total number of emitters (keep always at the end).
EM_NUM_EMITTERS = 5,
EM_NUM_EMITTERS = 4,
};

/// \class ParticleEmitter ParticleEmitter.hh
Expand Down
2 changes: 0 additions & 2 deletions ogre2/src/Ogre2ParticleEmitter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ static const std::array<std::string, EmitterType::EM_NUM_EMITTERS>
{
"Point",
"Box",
"Cone",
"Cylinder",
"Ellipsoid",
};
Expand Down Expand Up @@ -155,7 +154,6 @@ void Ogre2ParticleEmitter::SetEmitterSize(const gz::math::Vector3d &_size)
break;
}
case EmitterType::EM_BOX:
case EmitterType::EM_CONE:
case EmitterType::EM_CYLINDER:
case EmitterType::EM_ELLIPSOID:
{
Expand Down

0 comments on commit daf97e7

Please sign in to comment.