container class to store intersection + associated material of the current object More...
Collaboration diagram for cpe::intersection_object:Public Member Functions | |
| intersection_object (const intersection_data &inter=intersection_data(), const int &id_object=-1) | |
| direct constructor | |
Public Attributes | |
| intersection_data | inter_data |
| intersection data | |
| int | id_object |
| id of the intersected object | |
container class to store intersection + associated material of the current object
| cpe::intersection_object::intersection_object | ( | const intersection_data & | inter = intersection_data(), |
| const int & | id_object = -1 |
||
| ) |
direct constructor
id of the intersected object
Referenced by cpe::ray_tracer::compute_color(), and cpe::ray_tracer::throw_ray().
intersection data
Referenced by cpe::ray_tracer::find_intersection_color().