mirror of
https://github.com/isledecomp/isle.git
synced 2026-05-06 23:13:57 +00:00
style
This commit is contained in:
parent
13dd965571
commit
fddd0ca88f
@ -186,16 +186,16 @@ void LegoView1::Destroy()
|
|||||||
// FUNCTION: LEGO1 0x100abb60
|
// FUNCTION: LEGO1 0x100abb60
|
||||||
void LegoView1::SetLight(BOOL bDirectionalLight, Tgl::FloatMatrix4& rMatrix)
|
void LegoView1::SetLight(BOOL bDirectionalLight, Tgl::FloatMatrix4& rMatrix)
|
||||||
{
|
{
|
||||||
Tgl::Light* light;
|
Tgl::Light* pLight;
|
||||||
|
|
||||||
if (bDirectionalLight == FALSE) {
|
if (bDirectionalLight == FALSE) {
|
||||||
light = m_pSunLight;
|
pLight = m_pSunLight;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
light = m_pDirectionalLight;
|
pLight = m_pDirectionalLight;
|
||||||
}
|
}
|
||||||
|
|
||||||
SetLight(light, rMatrix);
|
SetLight(pLight, rMatrix);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100abb80
|
// FUNCTION: LEGO1 0x100abb80
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user