Commit 3f11916
committed
Fix bugs in get_source_visibility
- The source variable was not updated after the transform_to(self._gcrs) call (is not an inplace operation)
- ez_cart was not normalized before taking the dot product to compare to the cos(angle)
Signed-off-by: Israel Martinez <imc@umd.edu>1 parent 3c4cee4 commit 3f11916
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
| 937 | + | |
937 | 938 | | |
938 | 939 | | |
939 | 940 | | |
| |||
992 | 993 | | |
993 | 994 | | |
994 | 995 | | |
995 | | - | |
| 996 | + | |
996 | 997 | | |
997 | 998 | | |
998 | 999 | | |
| |||
0 commit comments