Skip to content

Commit

Permalink
Main: fix spelling error in MOT_FRUSTRUM (#2943)
Browse files Browse the repository at this point in the history
  • Loading branch information
chillywillysoft authored Nov 3, 2023
1 parent 48c2587 commit a8dedc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions OgreMain/include/OgrePrerequisites.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,9 @@ namespace Ogre
_OgreExport extern const String MOT_RECTANGLE2D;
_OgreExport extern const String MOT_STATIC_GEOMETRY;
_OgreExport extern const String MOT_CAMERA;
/// @deprecated use #MOT_FRUSTUM
_OgreExport extern const String MOT_FRUSTRUM;
_OgreExport extern const String MOT_FRUSTUM;
_OgreExport extern const String MOT_MOVABLE_PLANE;
_OgreExport extern const String MOT_INSTANCE_BATCH;
_OgreExport extern const String MOT_INSTANCED_ENTITY;
Expand Down
5 changes: 3 additions & 2 deletions OgreMain/src/OgreFrustum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ THE SOFTWARE.

namespace Ogre {

const String MOT_FRUSTRUM = "Frustum";
const String MOT_FRUSTUM = "Frustum";
const String MOT_FRUSTRUM = MOT_FRUSTUM;
const Real Frustum::INFINITE_FAR_PLANE_ADJUST = 0.00001;
//-----------------------------------------------------------------------
Frustum::Frustum(const String& name) :
Expand Down Expand Up @@ -734,7 +735,7 @@ namespace Ogre {
//-----------------------------------------------------------------------
const String& Frustum::getMovableType(void) const
{
return MOT_FRUSTRUM;
return MOT_FRUSTUM;
}
//-----------------------------------------------------------------------
Real Frustum::getBoundingRadius(void) const
Expand Down

0 comments on commit a8dedc8

Please sign in to comment.