"README.md" did not exist on "e457f128e2575989d9f82471ddf065e7c7f043f4"
Newer
Older
class Sphere : public Shape, public Light {
public:
Sphere(float radius, const std::shared_ptr<material::Material>& material);
util::AxisAlignedBoundingBox bounds() const override;
cam::Hit sampleLight() const override;
private:
std::shared_ptr<material::Material> material;
const float radius;