mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-27 01:45:37 -05:00
Improve match of LegoView1::Create (#613)
This commit is contained in:
parent
baacb42bfb
commit
c643723a9c
1 changed files with 2 additions and 2 deletions
|
@ -137,8 +137,8 @@ BOOL LegoView1::Create(const TglSurface::CreateStruct& rCreateStruct, Tgl::Rende
|
||||||
pRenderer->CreateLight(Tgl::Directional, g_directionalLightRGB, g_directionalLightRGB, g_directionalLightRGB);
|
pRenderer->CreateLight(Tgl::Directional, g_directionalLightRGB, g_directionalLightRGB, g_directionalLightRGB);
|
||||||
m_pAmbientLight = pRenderer->CreateLight(Tgl::Ambient, g_ambientLightRGB, g_ambientLightRGB, g_ambientLightRGB);
|
m_pAmbientLight = pRenderer->CreateLight(Tgl::Ambient, g_ambientLightRGB, g_ambientLightRGB, g_ambientLightRGB);
|
||||||
|
|
||||||
Mx3DPointFloat direction(0.0, -1.0, 0.0);
|
Mx3DPointFloat direction(0.0, 0.0, 0.0);
|
||||||
Mx3DPointFloat position(0.0, 0.0, 0.0);
|
Mx3DPointFloat position(0.0, -1.0, 0.0);
|
||||||
Mx3DPointFloat up(1.0, 0.0, 0.0);
|
Mx3DPointFloat up(1.0, 0.0, 0.0);
|
||||||
|
|
||||||
Tgl::FloatMatrix4 matrix;
|
Tgl::FloatMatrix4 matrix;
|
||||||
|
|
Loading…
Reference in a new issue