mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 11:45:34 +00:00
added a missing function
This commit is contained in:
parent
843a0288c3
commit
ec88aee581
2 changed files with 10 additions and 1 deletions
|
@ -139,3 +139,8 @@ void MWScene::scaleObject (const std::string& handle, float scale)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MWScene::setCollsionMode (bool enabled)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -83,8 +83,12 @@ namespace MWRender
|
||||||
/// Change object's orientation.
|
/// Change object's orientation.
|
||||||
void rotateObject (const std::string& handle, const Ogre::Quaternion& rotation);
|
void rotateObject (const std::string& handle, const Ogre::Quaternion& rotation);
|
||||||
|
|
||||||
// Change object's scale.
|
/// Change object's scale.
|
||||||
void scaleObject (const std::string& handle, float scale);
|
void scaleObject (const std::string& handle, float scale);
|
||||||
|
|
||||||
|
/// Set collision mode for player. If disabled player object should ignore
|
||||||
|
/// collisions and gravity.
|
||||||
|
void setCollsionMode (bool enabled);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue