http://sidneys77crlfslcr7zmj3msmxchgnxhrxlp3p3kbaswo7twchjnicid.onion/programming/2022/03/23/raytracing.html
-shapes.emplace_back(std::make_unique < Sphere > (vf3d(-150, +75, +300), olc::RED, 100)); +shapes.emplace_back(std::make_unique < Sphere > (vf3d(-150, +75, +300), olc::RED, 100, 0.5f)); Lastly, we’ll add a new abstract method to our Shape class that will return the normal at a given
intersection point, and override this abstract method in our Sphere and Plane classes.