Skip to content

Commit eb83be9

Browse files
committed
Synchronize copies of sphere.h
1 parent 84fad8b commit eb83be9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Change Log -- Ray Tracing in One Weekend
88
- Fix: Standardized naming for ray-t and time parameters (#746)
99
- Fix: `random_unit_vector()` was incorrect (#697)
1010
- Fix: Synchronize text and copies of `hittable.h`
11-
- Fix: Synchronize copies of `hittable_list.h`, `material.h`
11+
- Fix: Synchronize copies of `hittable_list.h`, `material.h`, `sphere.h`
1212

1313
### In One Weekend
1414

src/TheNextWeek/sphere.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
#include "hittable.h"
1717

1818

19-
class sphere : public hittable {
19+
class sphere : public hittable {
2020
public:
2121
sphere() {}
22+
2223
sphere(point3 cen, double r, shared_ptr<material> m)
2324
: center(cen), radius(r), mat_ptr(m) {};
2425

src/TheRestOfYourLife/sphere.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
#include "onb.h"
1818

1919

20-
class sphere : public hittable {
20+
class sphere : public hittable {
2121
public:
2222
sphere() {}
23+
2324
sphere(point3 cen, double r, shared_ptr<material> m)
2425
: center(cen), radius(r), mat_ptr(m) {};
2526

0 commit comments

Comments
 (0)