Skip to content

Commit

Permalink
issue #7
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyendumajumdar committed May 9, 2020
1 parent d6d2d3f commit 17199cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/sys_source_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ namespace _goptical {
SourcePoint::SourcePoint(SourceInfinityMode m, const math::Vector3 &pos_dir)
: Source(m == SourceAtInfinity
// position of infinity source is only used for trace::Sequence sort
// See https://lists.gnu.org/archive/html/goptical/2013-06/msg00004.html
? math::VectorPair3(pos_dir * -1e9, pos_dir)
: math::VectorPair3(pos_dir, math::vector3_001)),
_mode(m)
Expand Down

0 comments on commit 17199cc

Please sign in to comment.