Fix [#19602] Rayshadow that goes through transparent plane disappears

(some bugs may show on other places if some of the code isnt prepared to handle non-normalized is->vec)
This commit is contained in:
2009-10-13 10:52:18 +00:00
parent 8f25c0a799
commit f4d2926986

View File

@@ -376,7 +376,6 @@ int RE_rayobject_raycast(RayObject *r, Isect *isec)
RE_RC_COUNT(isec->raycounter->raycast.test);
/* Setup vars used on raycast */
isec->labda *= Normalize(isec->vec);
isec->dist = VecLength(isec->vec);
for(i=0; i<3; i++)