ray.hpp File Reference
+ Include dependency graph for ray.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cpe::ray
 Straight ray (initial position + direction) used for ray-tracing algorithm. More...
 

Namespaces

namespace  cpe
 Namespace for CPE classes.
 

Functions

std::ostream & cpe::operator<< (std::ostream &stream, const ray &r)
 exporting ray data More...
 
vec3 cpe::reflected_direction (const vec3 &u, const vec3 &n)
 return the reflected direction from a given ray with respect to the normal n More...