Skip to content

Commit 1fe7af1

Browse files
committed
Spaces around class colons
1 parent 2c6e0f2 commit 1fe7af1

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

src/InOneWeekend/hittable_list.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <vector>
2020

2121

22-
class hittable_list: public hittable {
22+
class hittable_list : public hittable {
2323
public:
2424
hittable_list() {}
2525
hittable_list(shared_ptr<hittable> object) { add(object); }

src/TheNextWeek/aarect.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "hittable.h"
1717

1818

19-
class xy_rect: public hittable {
19+
class xy_rect : public hittable {
2020
public:
2121
xy_rect() {}
2222

@@ -38,7 +38,7 @@ class xy_rect: public hittable {
3838
double x0, x1, y0, y1, k;
3939
};
4040

41-
class xz_rect: public hittable {
41+
class xz_rect : public hittable {
4242
public:
4343
xz_rect() {}
4444

@@ -60,7 +60,7 @@ class xz_rect: public hittable {
6060
double x0, x1, z0, z1, k;
6161
};
6262

63-
class yz_rect: public hittable {
63+
class yz_rect : public hittable {
6464
public:
6565
yz_rect() {}
6666

src/TheNextWeek/box.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "hittable_list.h"
1818

1919

20-
class box: public hittable {
20+
class box : public hittable {
2121
public:
2222
box() {}
2323
box(const point3& p0, const point3& p1, shared_ptr<material> ptr);

src/TheNextWeek/hittable_list.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <vector>
1919

2020

21-
class hittable_list: public hittable {
21+
class hittable_list : public hittable {
2222
public:
2323
hittable_list() {}
2424
hittable_list(shared_ptr<hittable> object) { add(object); }

src/TheNextWeek/sphere.h

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

1818

19-
class sphere: public hittable {
19+
class sphere : public hittable {
2020
public:
2121
sphere() {}
2222
sphere(point3 cen, double r, shared_ptr<material> m)

src/TheRestOfYourLife/aarect.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "hittable.h"
1717

1818

19-
class xy_rect: public hittable {
19+
class xy_rect : public hittable {
2020
public:
2121
xy_rect() {}
2222

@@ -38,7 +38,7 @@ class xy_rect: public hittable {
3838
double x0, x1, y0, y1, k;
3939
};
4040

41-
class xz_rect: public hittable {
41+
class xz_rect : public hittable {
4242
public:
4343
xz_rect() {}
4444

@@ -77,7 +77,7 @@ class xz_rect: public hittable {
7777
double x0, x1, z0, z1, k;
7878
};
7979

80-
class yz_rect: public hittable {
80+
class yz_rect : public hittable {
8181
public:
8282
yz_rect() {}
8383

src/TheRestOfYourLife/box.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "hittable_list.h"
1818

1919

20-
class box: public hittable {
20+
class box : public hittable {
2121
public:
2222
box() {}
2323
box(const point3& p0, const point3& p1, shared_ptr<material> ptr);

src/TheRestOfYourLife/hittable_list.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <vector>
1919

2020

21-
class hittable_list: public hittable {
21+
class hittable_list : public hittable {
2222
public:
2323
hittable_list() {}
2424
hittable_list(shared_ptr<hittable> object) { add(object); }

src/TheRestOfYourLife/sphere.h

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

1919

20-
class sphere: public hittable {
20+
class sphere : public hittable {
2121
public:
2222
sphere() {}
2323
sphere(point3 cen, double r, shared_ptr<material> m)

0 commit comments

Comments
 (0)