|
Ray Tracer Common Project
Image rendering program based on the ray tracing technique.
|
Some basic texture projections. More...
#include <generatedmap.hpp>
Public Types | |
| enum | Projection { FlatProjection, CubeProjection, SphereProjection } |
Public Member Functions | |
| GeneratedMap (Projection projection) | |
| Create new projection. More... | |
| virtual vector | map (const element &) const |
| Map a surface element to the texture arcording to the projection type. | |
Public Member Functions inherited from rt::TextureMap | |
| virtual | ~TextureMap () |
| Virtual destructor. | |
Some basic texture projections.
| rt::GeneratedMap::GeneratedMap | ( | Projection | projection | ) |
Create new projection.
| projection | Type of the projection. |
1.8.15