Raytracer
Loading...
Searching...
No Matches
ITexture.hpp
1#include "utils/Color.hpp"
2
3#ifndef __ITEXTURE_HPP__
4 #define __ITEXTURE_HPP__
5
6namespace Raytracer::Interfaces
7{
8 class ITexture {
9 public:
10 virtual ~ITexture() = default;
11 virtual Utils::Color value(
12 double u, double v, const Utils::Point3 &point) const = 0;
13 };
14} // namespace Raytracer::Interfaces
15
16#endif /* __ITEXTURE_HPP__ */
Definition ITexture.hpp:8
Definition VecN.hpp:40