2022-11-05 22:08:16 +01:00
|
|
|
#ifndef SIMPLESCENE_H
|
|
|
|
#define SIMPLESCENE_H
|
|
|
|
|
|
|
|
#include "scene/scene.h"
|
|
|
|
|
|
|
|
class SimpleScene : public Scene {
|
|
|
|
|
|
|
|
public:
|
|
|
|
// Raytracing functions
|
|
|
|
bool findIntersection(Ray &ray) const override;
|
|
|
|
bool findOcclusion(Ray &ray) const override;
|
2023-01-24 21:11:30 +01:00
|
|
|
Color getTransparency(Ray &ray, float maxDistance) const override;
|
2022-11-05 22:08:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|