raytracing.github.io icon indicating copy to clipboard operation
raytracing.github.io copied to clipboard

Extraneous semi-colon in vec3.h

Open michaelhiatt opened this issue 9 years ago • 1 comments

Enjoying the book so far, though I am only very early on so far.

I believe there may be an unneeded semicolon in the following line:

inline float& operator[](int i) { return e[i]; };

michaelhiatt avatar Jun 09 '17 01:06 michaelhiatt

Good call!

Have you seen this-- you'll see why it reminded me!

https://twitter.com/pelotom/status/779134762283732992?lang=en

Pete

On Thu, Jun 8, 2017 at 7:12 PM, michaelhiatt [email protected] wrote:

Enjoying the book so far, though I am only very early on so far.

I believe there may be an unneeded semicolon in the following line:

inline float& operator[](int i) { return e[i]; };

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/petershirley/raytracinginoneweekend/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/ACq6ip2Np-ycPX-HOLTthCDMHDmAgYNwks5sCJv-gaJpZM4N0y3N .

petershirley avatar Jun 09 '17 02:06 petershirley