mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-31 05:06:45 +00:00
more const-ness fixes
This commit is contained in:
parent
44020df65f
commit
4f24c6a7c8
6 changed files with 6 additions and 6 deletions
|
@ -181,7 +181,7 @@ namespace CSVWorld
|
|||
}
|
||||
|
||||
void PhysicsSystem::addHeightField(Ogre::SceneManager *sceneManager,
|
||||
float* heights, int x, int y, float yoffset, float triSize, float sqrtVerts)
|
||||
const float* heights, int x, int y, float yoffset, float triSize, float sqrtVerts)
|
||||
{
|
||||
std::string name = "HeightField_"
|
||||
+ QString::number(x).toStdString() + "_" + QString::number(y).toStdString();
|
||||
|
|
|
@ -63,7 +63,7 @@ namespace CSVWorld
|
|||
void moveSceneNodes(const std::string sceneNodeName, const Ogre::Vector3 &position);
|
||||
|
||||
void addHeightField(Ogre::SceneManager *sceneManager,
|
||||
float* heights, int x, int y, float yoffset, float triSize, float sqrtVerts);
|
||||
const float* heights, int x, int y, float yoffset, float triSize, float sqrtVerts);
|
||||
|
||||
void removeHeightField(Ogre::SceneManager *sceneManager, int x, int y);
|
||||
|
||||
|
|
|
@ -660,7 +660,7 @@ namespace MWWorld
|
|||
return MovementSolver::traceDown(ptr, mEngine, maxHeight);
|
||||
}
|
||||
|
||||
void PhysicsSystem::addHeightField (float* heights,
|
||||
void PhysicsSystem::addHeightField (const float* heights,
|
||||
int x, int y, float yoffset,
|
||||
float triSize, float sqrtVerts)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace MWWorld
|
|||
|
||||
void addActor (const MWWorld::Ptr& ptr, const std::string& mesh);
|
||||
|
||||
void addHeightField (float* heights,
|
||||
void addHeightField (const float* heights,
|
||||
int x, int y, float yoffset,
|
||||
float triSize, float sqrtVerts);
|
||||
|
||||
|
|
|
@ -363,7 +363,7 @@ namespace Physic
|
|||
//delete BulletShapeManager::getSingletonPtr();
|
||||
}
|
||||
|
||||
void PhysicEngine::addHeightField(float* heights,
|
||||
void PhysicEngine::addHeightField(const float* heights,
|
||||
int x, int y, float yoffset,
|
||||
float triSize, float sqrtVerts)
|
||||
{
|
||||
|
|
|
@ -227,7 +227,7 @@ namespace Physic
|
|||
/**
|
||||
* Add a HeightField to the simulation
|
||||
*/
|
||||
void addHeightField(float* heights,
|
||||
void addHeightField(const float* heights,
|
||||
int x, int y, float yoffset,
|
||||
float triSize, float sqrtVerts);
|
||||
|
||||
|
|
Loading…
Reference in a new issue