Use the same radius as before
This commit is contained in:
parent
29ba4ee543
commit
cef65cb98a
@ -543,8 +543,8 @@ scene::ISceneNode* KartModel::attachModel(bool animated_models, bool human_playe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const float each_energy = 0.2f / m_headlight_objects.size();
|
const float each_energy = 0.5f / m_headlight_objects.size();
|
||||||
const float each_radius = 2.0f / m_headlight_objects.size();
|
const float each_radius = 5.0f / m_headlight_objects.size();
|
||||||
for (unsigned int i = 0; i < m_headlight_objects.size(); i++)
|
for (unsigned int i = 0; i < m_headlight_objects.size(); i++)
|
||||||
{
|
{
|
||||||
HeadlightObject& obj = m_headlight_objects[i];
|
HeadlightObject& obj = m_headlight_objects[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user