mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-19 17:09:40 +00:00
removed some unused variables
This commit is contained in:
parent
7303d595dd
commit
1da56e2832
3 changed files with 2 additions and 9 deletions
|
@ -119,7 +119,6 @@ namespace MWRender
|
|||
|
||||
void Player::update(float duration)
|
||||
{
|
||||
Ogre::Vector3 pos = mPlayerNode->getPosition();
|
||||
if (!mVanity.enabled) {
|
||||
++mUpdates;
|
||||
mTimeIdle += duration;
|
||||
|
|
|
@ -189,12 +189,6 @@ namespace MWWorld
|
|||
iter!=actors.end(); ++iter)
|
||||
{
|
||||
//dirty stuff to get the camera orientation. Must be changed!
|
||||
Ogre::Quaternion orient =
|
||||
mRender.getScene()->getSceneNode(iter->first)->getOrientation();
|
||||
|
||||
float yaw = orient.getRoll().valueDegrees();
|
||||
float pitch = 0.f;
|
||||
|
||||
if (iter->first == "player") {
|
||||
playerphysics->ps.viewangles.x =
|
||||
Ogre::Radian(mPlayerData.pitch).valueDegrees();
|
||||
|
|
|
@ -471,7 +471,7 @@ static Ogre::String getMaterial(const NiTriShape *shape, const Ogre::String &nam
|
|||
float glossiness = 0.0f;
|
||||
float alpha = 1.0f;
|
||||
int alphaFlags = -1;
|
||||
ubyte alphaTest = 0;
|
||||
// ubyte alphaTest = 0;
|
||||
Ogre::String texName;
|
||||
|
||||
bool vertexColour = (shape->data->colors.size() != 0);
|
||||
|
@ -523,7 +523,7 @@ static Ogre::String getMaterial(const NiTriShape *shape, const Ogre::String &nam
|
|||
if (a)
|
||||
{
|
||||
alphaFlags = a->flags;
|
||||
alphaTest = a->data.threshold;
|
||||
// alphaTest = a->data.threshold;
|
||||
}
|
||||
|
||||
// Material
|
||||
|
|
Loading…
Reference in a new issue