Removed more Ogre stuff from core library...

This commit is contained in:
David Williams
2008-02-10 11:22:10 +00:00
parent 9138ae51da
commit a518afff41
13 changed files with 26 additions and 29 deletions

View File

@ -96,7 +96,7 @@ namespace Ogre
}
}
void PolyVoxSceneManager::createSphereAt(Vector3DFloat centre, Real radius, uint8_t value, bool painting)
void PolyVoxSceneManager::createSphereAt(Vector3DFloat centre, float radius, uint8_t value, bool painting)
{
int firstX = static_cast<int>(std::floor(centre.x() - radius));
int firstY = static_cast<int>(std::floor(centre.y() - radius));
@ -106,7 +106,7 @@ namespace Ogre
int lastY = static_cast<int>(std::ceil(centre.y() + radius));
int lastZ = static_cast<int>(std::ceil(centre.z() + radius));
Real radiusSquared = radius * radius;
float radiusSquared = radius * radius;
//Check bounds
firstX = std::max(firstX,0);