File irrlicht-1.8-directionlight.patch of Package irrlicht

Index: irrlicht-1.8/source/Irrlicht/CLightSceneNode.cpp
===================================================================
--- irrlicht-1.8.orig/source/Irrlicht/CLightSceneNode.cpp
+++ irrlicht-1.8/source/Irrlicht/CLightSceneNode.cpp
@@ -66,7 +66,8 @@ void CLightSceneNode::render()
 
 			case video::ELT_DIRECTIONAL:
 				driver->draw3DLine(core::vector3df(0.f, 0.f, 0.f),
-						LightData.Direction * LightData.Radius,
+						   //LightData.Direction * LightData.Radius,
+						   core::vector3df(0.f, 0.f, LightData.Radius),
 						LightData.DiffuseColor.toSColor());
 				break;
 			default:
openSUSE Build Service is sponsored by