Detritus's bug report, about Ogre::Real, easy to fix

bunny2015

14-12-2010 14:52:03

When OGRE_DOUBLE_PRECISION == 1, compile critter will get errors.

CritterRenderable.h
......
/** \brief Text
*/
Ogre::Real getBoundingRadius() const;

/** \brief
*/
Ogre::Real getSquaredViewDepth(const Ogre::Camera* cam) const;
......

CritterRenderable.cpp
......
float Renderable::getBoundingRadius() const
{
......
}

float Renderable::getSquaredViewDepth(const Ogre::Camera* cam) const
{
......
}
......