added distrib desctructor, closing sockets

git-svn-id: svn://anubis/fart/trunk@235 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-04-13 22:34:58 +00:00
1 parent fed63d7d1e
commit e21d948d52
3 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -425,7 +425,7 @@ Color Scene::calculateLightContribution(const Ray & toLight,
contrib *= hit.shape->getMaterial()->getTransparency();
contrib *= hit.shape->getMaterial()->getDiffuseColor();
if ( contrib.r < SCENE_FACTOR_THRESHOLD
if ( contrib.r < SCENE_FACTOR_THRESHOLD
&& contrib.g < SCENE_FACTOR_THRESHOLD
&& contrib.b < SCENE_FACTOR_THRESHOLD )
break;