Ray Tracer Common Project
Image rendering program based on the ray tracing technique.
sources
material
texture.hpp
1
15
#pragma once
16
17
#include "core/color.hpp"
18
#include "core/vector.hpp"
19
20
namespace
rt
{
21
28
class
Texture
{
29
public
:
33
virtual
~Texture
() = 0;
34
39
virtual
color
value
(
const
vector
& pos)
const
= 0;
40
};
41
42
}
rt::Texture::~Texture
virtual ~Texture()=0
Virtualdestructor.
Definition:
texture.cpp:5
rt::Texture
Material texture.
Definition:
texture.hpp:28
rt
Definition:
bitmap.cpp:4
rt::color
RGBA color representation.
Definition:
color.hpp:31
rt::vector
3D vector
Definition:
vector.hpp:28
rt::Texture::value
virtual color value(const vector &pos) const =0
Get the value/color of the texture.
Generated on Fri Jan 26 2018 17:51:57 for Ray Tracer Common Project by
1.8.15