|
cgv
|
Holds information about a single intersection of a ray and primitive. More...
#include <bvh.h>
Public Attributes | |
| float | t = std::numeric_limits<float>::max() |
| The ray parameter. | |
| cgv::vec3 | normal |
| The intersection surface normal. | |
| cgv::vec2 | uv |
| The intersection surface texture coordinates. | |
Holds information about a single intersection of a ray and primitive.
| cgv::vec3 cgv::data::ray_intersection_info::normal |
| float cgv::data::ray_intersection_info::t = std::numeric_limits<float>::max() |
The ray parameter.
Definition at line 19 of file bvh.h.
Referenced by cgv::data::bvh::closest_intersection().
| cgv::vec2 cgv::data::ray_intersection_info::uv |