Commit 4d65783
committed
Remove unused operator<< & const-medium debug code
When I created issue #1495, I must have been in the middle of a code
progression, because it appeared to me that vec3::operator<< was unused.
Turns out it _is_ used, in debug code for the `constant_medium::hit()`
function. This code was created as a clean-up for the original scattered
debug statements in this function. On review, however, this appears a
bit odd, as the text does not mention the debuggability option (it's
off by default), and no other code in the books has debug print code.
Looking at it again, I think it should be removed, and readers are free
to add whatever debug code they need at any stage in development.
Resolves #14951 parent 3412059 commit 4d65783
File tree
6 files changed
+0
-48
lines changed- books
- src
- InOneWeekend
- TheNextWeek
- TheRestOfYourLife
6 files changed
+0
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4044 | 4044 | | |
4045 | 4045 | | |
4046 | 4046 | | |
4047 | | - | |
4048 | | - | |
4049 | | - | |
4050 | | - | |
4051 | 4047 | | |
4052 | 4048 | | |
4053 | 4049 | | |
| |||
4056 | 4052 | | |
4057 | 4053 | | |
4058 | 4054 | | |
4059 | | - | |
4060 | | - | |
4061 | 4055 | | |
4062 | 4056 | | |
4063 | 4057 | | |
| |||
4077 | 4071 | | |
4078 | 4072 | | |
4079 | 4073 | | |
4080 | | - | |
4081 | | - | |
4082 | | - | |
4083 | | - | |
4084 | | - | |
4085 | | - | |
4086 | 4074 | | |
4087 | 4075 | | |
4088 | 4076 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 34 | | |
39 | 35 | | |
40 | 36 | | |
| |||
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
46 | | - | |
47 | | - | |
48 | 42 | | |
49 | 43 | | |
50 | 44 | | |
| |||
64 | 58 | | |
65 | 59 | | |
66 | 60 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 61 | | |
74 | 62 | | |
75 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 34 | | |
39 | 35 | | |
40 | 36 | | |
| |||
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
46 | | - | |
47 | | - | |
48 | 42 | | |
49 | 43 | | |
50 | 44 | | |
| |||
64 | 58 | | |
65 | 59 | | |
66 | 60 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 61 | | |
74 | 62 | | |
75 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
0 commit comments