Missed a constification.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1450 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
hybrid 2008-08-06 22:46:48 +00:00
parent d4429383c8
commit 3012b376cd
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ CVolumeLightSceneNode::~CVolumeLightSceneNode()
}
void CVolumeLightSceneNode::addToBuffer(video::S3DVertex v)
void CVolumeLightSceneNode::addToBuffer(const video::S3DVertex& v)
{
const s32 tnidx = Buffer->Vertices.linear_reverse_search(v);
const bool alreadyIn = (tnidx != -1);

View File

@ -72,7 +72,7 @@ namespace scene
virtual video::SColor getTailColour () const { return TailColour; }
private:
void addToBuffer(video::S3DVertex v);
void addToBuffer(const video::S3DVertex& v);
void constructLight();
SMeshBuffer* Buffer;