From c643723a9c57407750d40453bc6eb66cd22ac95a Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 1 Mar 2024 16:53:42 -0500 Subject: [PATCH] Improve match of LegoView1::Create (#613) --- LEGO1/lego/sources/3dmanager/legoview1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/sources/3dmanager/legoview1.cpp b/LEGO1/lego/sources/3dmanager/legoview1.cpp index 28ffb911..033afce7 100644 --- a/LEGO1/lego/sources/3dmanager/legoview1.cpp +++ b/LEGO1/lego/sources/3dmanager/legoview1.cpp @@ -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;