File tree Expand file tree Collapse file tree 6 files changed +8
-16
lines changed Expand file tree Collapse file tree 6 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 2791
2791
2792
2792
#include "rtweekend.h"
2793
2793
2794
- class hit_record;
2794
+ #include "hittable.h"
2795
2795
2796
2796
class material {
2797
2797
public:
Original file line number Diff line number Diff line change 1346
1346
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
1347
1347
#include "rtweekend.h"
1348
1348
1349
-
1349
+ #include "hittable.h"
1350
1350
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
1351
1351
#include "texture.h"
1352
1352
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
1353
1353
1354
- class hit_record;
1355
-
1356
1354
...
1357
1355
1358
1356
class lambertian : public material {
Original file line number Diff line number Diff line change 2286
2286
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
2287
2287
#include "rtweekend.h"
2288
2288
2289
-
2289
+ #include "hittable.h"
2290
2290
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
2291
2291
#include "onb.h"
2292
2292
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
2293
2293
#include "texture.h"
2294
2294
2295
- class hit_record;
2296
-
2297
2295
class material {
2298
2296
public:
2299
2297
...
3329
3327
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
3330
3328
#include "rtweekend.h"
3331
3329
3330
+ #include "hittable.h"
3332
3331
#include "onb.h"
3333
3332
#include "texture.h"
3334
3333
3335
- class hit_record;
3336
-
3337
3334
3338
3335
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
3339
3336
class scatter_record {
3370
3367
#include "rtweekend.h"
3371
3368
3372
3369
3370
+ #include "hittable.h"
3373
3371
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ delete
3374
3372
#include "onb.h"
3375
3373
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
3376
3374
#include "pdf.h"
3377
3375
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
3378
3376
#include "texture.h"
3379
3377
3380
- class hit_record;
3381
-
3382
3378
...
3383
3379
3384
3380
class lambertian : public material {
Original file line number Diff line number Diff line change 13
13
14
14
#include " rtweekend.h"
15
15
16
- class hit_record ;
16
+ # include " hittable.h "
17
17
18
18
19
19
class material {
Original file line number Diff line number Diff line change 13
13
14
14
#include " rtweekend.h"
15
15
16
+ #include " hittable.h"
16
17
#include " texture.h"
17
18
18
- class hit_record ;
19
-
20
19
21
20
class material {
22
21
public:
Original file line number Diff line number Diff line change 13
13
14
14
#include " rtweekend.h"
15
15
16
+ #include " hittable.h"
16
17
#include " pdf.h"
17
18
#include " texture.h"
18
19
19
- class hit_record ;
20
-
21
20
22
21
class scatter_record {
23
22
public:
You can’t perform that action at this time.
0 commit comments