Skip to content

Commit

Permalink
MovableObject::calculateCameraDistance shouldn't be public
Browse files Browse the repository at this point in the history
Its definition is literally unavailable outside OgreMovableObject.cpp
  • Loading branch information
darksylinc committed Feb 10, 2022
1 parent c0243bf commit 1dbe6fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OgreMain/include/OgreMovableObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,14 @@ namespace Ogre
*/
static void updateAllBounds( const size_t numNodes, ObjectData t );

private:
static inline ArrayReal calculateCameraDistance( uint32 _cameraSortMode,
const ArrayVector3 &cameraPos,
const ArrayVector3 &cameraDir,
ArrayAabb *RESTRICT_ALIAS worldAabb,
ArrayReal *RESTRICT_ALIAS worldRadius );

public:
/** @See SceneManager::cullFrustum
@remarks
We don't pass by reference on purpose (avoid implicit aliasing)
Expand Down

0 comments on commit 1dbe6fc

Please sign in to comment.