Skip to content

Commit

Permalink
Update getColour temporarily to fix build #12
Browse files Browse the repository at this point in the history
  • Loading branch information
smercer10 committed Feb 24, 2024
1 parent 67ba2a1 commit c30bee8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

// WIP
colour ray::getColour() {
sphere s(point3(0, 0, -1), 0.5);

if (s.isHit(*this)) {
return {1, 0, 0};
}

auto unitDir = unitVector(dir);
auto a = 0.5 * (unitDir.y() + 1.0);

Expand Down

0 comments on commit c30bee8

Please sign in to comment.