From ece7d0e19126785256d0eb4558a0fe26ca5650fb Mon Sep 17 00:00:00 2001 From: "Matias N. Goldberg" Date: Thu, 10 Feb 2022 13:23:51 -0300 Subject: [PATCH] Fix declared functions that are never defined (#265) --- .../include/Compositor/OgreCompositorManager2.h | 5 ----- OgreMain/include/OgreEntity.h | 3 +-- OgreMain/include/OgreLight.h | 17 ----------------- 3 files changed, 1 insertion(+), 24 deletions(-) diff --git a/OgreMain/include/Compositor/OgreCompositorManager2.h b/OgreMain/include/Compositor/OgreCompositorManager2.h index ac7d28a0e59..3a38dde6aa2 100644 --- a/OgreMain/include/Compositor/OgreCompositorManager2.h +++ b/OgreMain/include/Compositor/OgreCompositorManager2.h @@ -154,11 +154,6 @@ namespace Ogre CompositorManager2( RenderSystem *renderSystem ); ~CompositorManager2(); - /** The final rendering is done by passing the RenderWindow to one of the input - channels. This functions does exactly that. - */ - void connectOutput( CompositorNode *finalNode, size_t inputChannel ); - /// Returns true if a node definition with the given name exists bool hasNodeDefinition( IdString nodeDefName ) const; diff --git a/OgreMain/include/OgreEntity.h b/OgreMain/include/OgreEntity.h index d633d2616e9..7ba0cd43b8b 100644 --- a/OgreMain/include/OgreEntity.h +++ b/OgreMain/include/OgreEntity.h @@ -635,8 +635,7 @@ namespace v1 { morph animation. */ TempBlendedBufferInfo* _getVertexAnimTempBufferInfo(void); - /// Override to return specific type flag. - uint32 getTypeFlags(void) const; + /// Retrieve the VertexData which should be used for GPU binding. VertexData* getVertexDataForBinding( bool casterPass ); diff --git a/OgreMain/include/OgreLight.h b/OgreMain/include/OgreLight.h index 93d6a07b859..3ca73905e97 100644 --- a/OgreMain/include/OgreLight.h +++ b/OgreMain/include/OgreLight.h @@ -393,9 +393,6 @@ namespace Ogre { */ Vector4 getAs4DVector(void) const; - /// Override to return specific type flag - uint32 getTypeFlags(void) const; - /// @copydoc AnimableObject::createAnimableValue AnimableValuePtr createAnimableValue(const String& valueName); @@ -523,20 +520,6 @@ namespace Ogre { virtual void _updateCustomGpuParameter(uint16 paramIndex, const GpuProgramParameters::AutoConstantEntry& constantEntry, GpuProgramParameters* params) const; - - /** Check whether a sphere is included in the lighted area of the light - @note - The function trades accuracy for efficiency. As a result you may get - false-positives (The function should not return any false-negatives). - */ - bool isInLightRange(const Ogre::Sphere& sphere) const; - - /** Check whether a bounding box is included in the lighted area of the light - @note - The function trades accuracy for efficiency. As a result you may get - false-positives (The function should not return any false-negatives). - */ - bool isInLightRange(const Ogre::AxisAlignedBox& container) const; /** Sets a textured for types of light that support it. At the time of writing only LT_AREA_APPROX supports it.