Skip to content

Commit

Permalink
Fix declared functions that are never defined (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Feb 10, 2022
1 parent d06d800 commit ece7d0e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
5 changes: 0 additions & 5 deletions OgreMain/include/Compositor/OgreCompositorManager2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 1 addition & 2 deletions OgreMain/include/OgreEntity.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down
17 changes: 0 additions & 17 deletions OgreMain/include/OgreLight.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit ece7d0e

Please sign in to comment.