# | Line 165 | Line 165 | ray_init( /* initialize ray-tracing calculation */ | |
---|---|---|
165 | if (ofun[OBJ_SPHERE].funp == o_default) | |
166 | initotypes(); | |
167 | /* initialize urand */ | |
168 | – | initurand(2048); |
168 | srandom(rand_samp ? (long)time(0) : 0L); | |
169 | + | initurand(2048); |
170 | /* read scene octree */ | |
171 | readoct(octname = otnm, ~(IO_FILES|IO_INFO), &thescene, NULL); | |
172 | nsceneobjs = nobjects; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |