changed scatter check for gauss components to if(noise==0)

This commit is contained in:
Franz Roters 2007-04-26 14:46:54 +00:00
parent 09aad5ccb4
commit e5749cbff0
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@
real(pReal) noise,scatter,cosScatter real(pReal) noise,scatter,cosScatter
integer(pInt) i integer(pInt) i
if (noise<=0.01) then if (noise==0.0) then
math_sampleGaussOri = center math_sampleGaussOri = center
return return
endif endif