Go to the source code of this file.
|
| namespace | cpe |
| | Namespace for CPE classes.
|
| |
|
| void | cpe::render (image &image_parameter, const scene &scene_parameter) |
| |
| color | cpe::ray_trace (const ray &r, const scene &scene_parameter) |
| | Compute color associated to a single ray. More...
|
| |
| bool | cpe::compute_first_intersection (const ray &r, const scene &scene_parameter, intersection &inter, int &index) |
| | Compute the first intersection of a ray in the 3D scene. More...
|
| |
| bool | cpe::is_in_shadow (const vec3 &position, const vec3 &light_position, const scene &scene_parameter) |
| | Given a position in the 3D scene, and a position of a single light, the function check if the position is in the shadow of other objects or not. More...
|
| |