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 12, 2024
1 parent 8deb122 commit 3c96795
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 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 Expand Up @@ -89,8 +86,6 @@ namespace gz
/// the emmiter type:
/// - EM_POINT: The area is ignored.
/// - EM_BOX: The area is interpreted as width X height X depth.
/// - EM_CONE: The area is interpreted as the bounding box of the
/// cone. The cone is oriented along the Z-axis.
/// - EM_CYLINDER: The area is interpreted as the bounding box of the
/// cylinder. The cylinder is oriented along the Z-axis.
/// - EM_ELLIPSOID: The area is interpreted as the bounding box of an
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 3c96795

Please sign in to comment.