mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Pass a Vec4f by reference
This commit is contained in:
parent
236bfa3678
commit
0597c8fd9c
2 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ namespace SceneUtil
|
|||
traverse(node, nv);
|
||||
}
|
||||
|
||||
void LightController::setDiffuse(osg::Vec4f color)
|
||||
void LightController::setDiffuse(const osg::Vec4f& color)
|
||||
{
|
||||
mDiffuseColor = color;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue