Merging r6405 through r6424 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6425 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@@ -166,6 +166,18 @@ namespace scene
|
||||
{
|
||||
return getVertexBuffer()[i].Normal;
|
||||
}
|
||||
|
||||
//! returns color of vertex i
|
||||
virtual video::SColor& getColor(u32 i) IRR_OVERRIDE
|
||||
{
|
||||
return getVertexBuffer()[i].Color;
|
||||
}
|
||||
|
||||
//! returns color of vertex i
|
||||
virtual const video::SColor& getColor(u32 i) const IRR_OVERRIDE
|
||||
{
|
||||
return getVertexBuffer()[i].Color;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user