Commits

kazeevn committed bc74981

Fixes Issue 43 . It was due to maxRadius being less than zero.

  • Participants
  • Parent commits 5a7a064

Comments (0)

Files changed (1)

 
     while (photon.state == Photon::LIVE) {
       while (true) {
-		// FIXME(alexknvl): I have no idea if it will work.
-        float sphereRadius = GaussianRandom(cfg.averageSphereRadius, cfg.sphereRadiusDeviation);
+        float sphereRadius = cfg.averageSphereRadius;
         float angle, radius, z;
         Vector3f sphereCentre;