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:
parent
d4429383c8
commit
3012b376cd
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user