Removed mutable stuff and opted for const_cast instead.

This commit is contained in:
David Williams
2007-10-05 21:49:30 +00:00
parent f730438f21
commit 742b8e68ec
6 changed files with 33 additions and 33 deletions

View File

@ -44,17 +44,17 @@ namespace Ogre
const UIntVector3& getPosition(void) const;
void setAlpha(float alphaToSet);
void setEdge(const SurfaceEdgeIterator& edgeToSet) const;
void setNormal(const Vector3& normalToSet) const;
void setEdge(const SurfaceEdgeIterator& edgeToSet);
void setNormal(const Vector3& normalToSet);
std::string toString(void) const;
private:
UIntVector3 position;
mutable Vector3 normal;
Vector3 normal;
float alpha;
mutable SurfaceEdgeIterator edge;
SurfaceEdgeIterator edge;
unsigned long m_uHash;
};