Raytracer
Loading...
Searching...
No Matches
include
interfaces
ITexture.hpp
1
#include "utils/Color.hpp"
2
3
#ifndef __ITEXTURE_HPP__
4
#define __ITEXTURE_HPP__
5
6
namespace
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__ */
Raytracer::Interfaces::ITexture
Definition
ITexture.hpp:8
Raytracer::Utils::VecN
Definition
VecN.hpp:40
Generated by
1.10.0