Improve match of LegoView1::Create (#613)

This commit is contained in:
Christian Semmler 2024-03-01 16:53:42 -05:00 committed by GitHub
parent baacb42bfb
commit c643723a9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,8 +137,8 @@ BOOL LegoView1::Create(const TglSurface::CreateStruct& rCreateStruct, Tgl::Rende
pRenderer->CreateLight(Tgl::Directional, g_directionalLightRGB, g_directionalLightRGB, g_directionalLightRGB);
m_pAmbientLight = pRenderer->CreateLight(Tgl::Ambient, g_ambientLightRGB, g_ambientLightRGB, g_ambientLightRGB);
Mx3DPointFloat direction(0.0, -1.0, 0.0);
Mx3DPointFloat position(0.0, 0.0, 0.0);
Mx3DPointFloat direction(0.0, 0.0, 0.0);
Mx3DPointFloat position(0.0, -1.0, 0.0);
Mx3DPointFloat up(1.0, 0.0, 0.0);
Tgl::FloatMatrix4 matrix;