Skip to content

Commit cb52be7

Browse files
authored
More updates to book 1
1 parent 76e4c82 commit cb52be7

File tree

3 files changed

+60
-44
lines changed

3 files changed

+60
-44
lines changed

books/RayTracingInOneWeekend.html

Lines changed: 59 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,8 +1291,8 @@
12911291
#include <memory>
12921292
#include <vector>
12931293

1294-
using std::shared_ptr;
12951294
using std::make_shared;
1295+
using std::shared_ptr;
12961296

12971297
class hittable_list : public hittable {
12981298
public:
@@ -1406,8 +1406,8 @@
14061406

14071407
// C++ Std Usings
14081408

1409-
using std::shared_ptr;
14101409
using std::make_shared;
1410+
using std::shared_ptr;
14111411
using std::sqrt;
14121412

14131413
// Constants
@@ -1423,6 +1423,7 @@
14231423

14241424
// Common Headers
14251425

1426+
#include "color.h"
14261427
#include "ray.h"
14271428
#include "vec3.h"
14281429

@@ -1436,8 +1437,6 @@
14361437
this assumption in mind.
14371438

14381439
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ delete
1439-
#include "vec3.h"
1440-
14411440
#include <iostream>
14421441
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14431442
[Listing [assume-rtw-color]: <kbd>[color.h]</kbd> Assume rtweekend.h in color.h]
@@ -1456,8 +1455,8 @@
14561455

14571456

14581457
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ delete
1459-
using std::shared_ptr;
14601458
using std::make_shared;
1459+
using std::shared_ptr;
14611460
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14621461
[Listing [assume-rtw-hittable-list]: <kbd>[hittable_list.h]</kbd>
14631462
Assume rtweekend.h in hittable_list.h
@@ -1485,6 +1484,8 @@
14851484
#include "rtweekend.h"
14861485
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
14871486

1487+
1488+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ delete
14881489
#include "color.h"
14891490
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
14901491
#include "hittable.h"
@@ -1636,7 +1637,7 @@
16361637
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
16371638
// Common Headers
16381639

1639-
1640+
#include "color.h"
16401641
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ Highlight
16411642
#include "interval.h"
16421643
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
@@ -1720,7 +1721,6 @@
17201721

17211722

17221723
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
1723-
...
17241724
color ray_color(const ray& r, const hittable& world) {
17251725
hit_record rec;
17261726
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
@@ -1733,7 +1733,6 @@
17331733
auto a = 0.5*(unit_direction.y() + 1.0);
17341734
return (1.0-a)*color(1.0, 1.0, 1.0) + a*color(0.5, 0.7, 1.0);
17351735
}
1736-
...
17371736
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17381737
[Listing [main-with-interval]: <kbd>[main.cc]</kbd> The new main using interval]
17391738

@@ -1772,7 +1771,6 @@
17721771

17731772
#include "rtweekend.h"
17741773

1775-
#include "color.h"
17761774
#include "hittable.h"
17771775

17781776
class camera {
@@ -1812,8 +1810,8 @@
18121810
...
18131811

18141812

1815-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
18161813
color ray_color(const ray& r, const hittable& world) const {
1814+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
18171815
hit_record rec;
18181816

18191817
if (world.hit(r, interval(0, infinity), rec)) {
@@ -1823,8 +1821,8 @@
18231821
vec3 unit_direction = unit_vector(r.direction());
18241822
auto a = 0.5*(unit_direction.y() + 1.0);
18251823
return (1.0-a)*color(1.0, 1.0, 1.0) + a*color(0.5, 0.7, 1.0);
1826-
}
18271824
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
1825+
}
18281826
};
18291827

18301828
#endif
@@ -1839,17 +1837,6 @@
18391837
migrated code:
18401838

18411839
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
1842-
...
1843-
#include "rtweekend.h"
1844-
1845-
#include "color.h"
1846-
#include "hittable.h"
1847-
1848-
1849-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
1850-
#include <iostream>
1851-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
1852-
18531840
class camera {
18541841
public:
18551842
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
@@ -1925,14 +1912,26 @@
19251912
<div class='together'>
19261913
And here's the much reduced main:
19271914

1928-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
1915+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
19291916
#include "rtweekend.h"
19301917

1918+
1919+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
19311920
#include "camera.h"
1921+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
1922+
#include "hittable.h"
19321923
#include "hittable_list.h"
19331924
#include "sphere.h"
19341925

1926+
1927+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ delete
1928+
color ray_color(const ray& r, const hittable& world) {
1929+
...
1930+
}
1931+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
1932+
19351933
int main() {
1934+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
19361935
hittable_list world;
19371936

19381937
world.add(make_shared<sphere>(point3(0,0,-1), 0.5));
@@ -1944,6 +1943,7 @@
19441943
cam.image_width = 400;
19451944

19461945
cam.render(world);
1946+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
19471947
}
19481948
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19491949
[Listing [main-with-new-camera]: <kbd>[main.cc]</kbd> The new main, using the new camera]
@@ -2001,6 +2001,7 @@
20012001
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ Highlight
20022002
#include <cstdlib>
20032003
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
2004+
#include <iostream>
20042005
#include <limits>
20052006
#include <memory>
20062007
...
@@ -2076,7 +2077,13 @@
20762077

20772078
Here's the updated `write_color()` function that incorporates the interval clamping function:
20782079

2080+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
2081+
#include "interval.h"
20792082
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
2083+
#include "vec3.h"
2084+
2085+
using color = vec3;
2086+
20802087
void write_color(std::ostream& out, const color& pixel_color) {
20812088
auto r = pixel_color.x();
20822089
auto g = pixel_color.y();
@@ -2139,7 +2146,9 @@
21392146
double pixel_samples_scale; // Color scale factor for a sum of pixel samples
21402147
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
21412148
point3 center; // Camera center
2142-
...
2149+
point3 pixel00_loc; // Location of pixel 0, 0
2150+
vec3 pixel_delta_u; // Offset to pixel to the right
2151+
vec3 pixel_delta_v; // Offset to pixel below
21432152

21442153
void initialize() {
21452154
image_height = int(image_width / aspect_ratio);
@@ -2177,7 +2186,9 @@
21772186
}
21782187
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
21792188

2180-
...
2189+
color ray_color(const ray& r, const hittable& world) const {
2190+
...
2191+
}
21812192
};
21822193

21832194
#endif
@@ -2815,11 +2826,7 @@
28152826
that will be defined later. Since we're just specifying a pointer to the class, the compiler doesn't
28162827
need to know the details of the class, solving the circular reference issue.
28172828

2818-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
2819-
28202829
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
2821-
#include "rtweekend.h"
2822-
28232830
class material;
28242831
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
28252832

@@ -2854,8 +2861,9 @@
28542861
class sphere : public hittable {
28552862
public:
28562863
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
2857-
sphere(const point3& center, double radius, shared_ptr<material> mat)
2858-
: center(center), radius(fmax(0,radius)), mat(mat) {}
2864+
sphere(const point3& center, double radius) : center(center), radius(fmax(0,radius)) {
2865+
// TODO: Initialize the material pointer `mat`.
2866+
}
28592867
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
28602868

28612869
bool hit(const ray& r, interval ray_t, hit_record& rec) const override {
@@ -2939,7 +2947,6 @@
29392947
We'll need to use the C++ standard library function `std::fabs`, which returns the absolute value of
29402948
its input. We'll add this to `rtweekend.h` since we'll use this in several future locations.
29412949

2942-
29432950
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
29442951
// C++ Std Usings
29452952

@@ -2951,7 +2958,7 @@
29512958
using std::shared_ptr;
29522959
using std::sqrt;
29532960
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2954-
[Listing [declare-fabs]: <kbd>rtweekend.h</kbd> Declaring std::fabs()
2961+
[Listing [declare-fabs]: <kbd>[rtweekend.h]</kbd> Declaring std::fabs()]
29552962

29562963
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
29572964
class vec3 {
@@ -3075,7 +3082,6 @@
30753082
...
30763083
#include "rtweekend.h"
30773084

3078-
#include "color.h"
30793085
#include "hittable.h"
30803086
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
30813087
#include "material.h"
@@ -3113,6 +3119,21 @@
31133119

31143120
</div>
31153121

3122+
Now we'll update the `sphere` constructor to initialize the material pointer `mat`:
3123+
3124+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
3125+
class sphere : public hittable {
3126+
public:
3127+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
3128+
sphere(const point3& center, double radius, shared_ptr<material> mat)
3129+
: center(center), radius(fmax(0,radius)), mat(mat) {}
3130+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
3131+
3132+
...
3133+
};
3134+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3135+
[Listing [sphere-ctor-material]: <kbd>[sphere.h]</kbd> Initializing sphere with a material]
3136+
31163137

31173138
A Scene with Metal Spheres
31183139
---------------------------
@@ -3122,9 +3143,6 @@
31223143
#include "rtweekend.h"
31233144

31243145
#include "camera.h"
3125-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
3126-
#include "color.h"
3127-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
31283146
#include "hittable_list.h"
31293147
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
31303148
#include "material.h"
@@ -3388,8 +3406,8 @@
33883406

33893407
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
33903408
auto material_ground = make_shared<lambertian>(color(0.8, 0.8, 0.0));
3391-
auto material_center = make_shared<lambertian>(color(0.1, 0.2, 0.5));
33923409
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
3410+
auto material_center = make_shared<lambertian>(color(0.1, 0.2, 0.5));
33933411
auto material_left = make_shared<dielectric>(1.5);
33943412
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
33953413
auto material_right = make_shared<metal>(color(0.8, 0.6, 0.2), 1.0);
@@ -3576,6 +3594,7 @@
35763594
bool cannot_refract = ri * sin_theta > 1.0;
35773595
vec3 direction;
35783596

3597+
35793598
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
35803599
if (cannot_refract || reflectance(cos_theta, ri) > random_double())
35813600
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
@@ -4141,8 +4160,10 @@
41414160
}
41424161

41434162
ray get_ray(int i, int j) const {
4163+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
41444164
// Construct a camera ray originating from the defocus disk and directed at a randomly
41454165
// sampled point around the pixel location i, j.
4166+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
41464167

41474168
auto offset = sample_square();
41484169
auto pixel_sample = pixel00_loc

books/RayTracingTheNextWeek.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,6 @@
10841084
#include "bvh.h"
10851085
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
10861086
#include "camera.h"
1087-
#include "color.h"
10881087
#include "hittable_list.h"
10891088
#include "material.h"
10901089
#include "sphere.h"
@@ -1398,11 +1397,10 @@
13981397
If we add this to our main scene:
13991398

14001399
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
1401-
...
1400+
#include "rtweekend.h"
14021401

14031402
#include "bvh.h"
14041403
#include "camera.h"
1405-
#include "color.h"
14061404
#include "hittable_list.h"
14071405
#include "material.h"
14081406
#include "sphere.h"
@@ -1454,7 +1452,6 @@
14541452

14551453
#include "bvh.h"
14561454
#include "camera.h"
1457-
#include "color.h"
14581455
#include "hittable_list.h"
14591456
#include "material.h"
14601457
#include "sphere.h"
@@ -1494,7 +1491,6 @@
14941491

14951492
#include "bvh.h"
14961493
#include "camera.h"
1497-
#include "color.h"
14981494
#include "hittable_list.h"
14991495
#include "material.h"
15001496
#include "sphere.h"

books/RayTracingTheRestOfYourLife.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@
250250
#include "rtweekend.h"
251251

252252
#include "camera.h"
253-
#include "color.h"
254253
#include "hittable_list.h"
255254
#include "material.h"
256255
#include "quad.h"

0 commit comments

Comments
 (0)