The routine for calculating specular reflections per specular obstacle is within the loop for each mesh vertex. It should really be somewhere global, because we only need to do this once, if specBounces > 0. Then, per mesh vertex, we can perform the translation of the reflected ray onto the sensor point. E.g. In CCalculateSolarMesh.RunAnnualSimulation, lines 1682-1721.
The routine for calculating specular reflections per specular obstacle is within the loop for each mesh vertex. It should really be somewhere global, because we only need to do this once, if specBounces > 0. Then, per mesh vertex, we can perform the translation of the reflected ray onto the sensor point. E.g. In CCalculateSolarMesh.RunAnnualSimulation, lines 1682-1721.