|
template<typename T > |
using | unique_vector = std::vector< std::unique_ptr< T > > |
|
|
std::unique_ptr< Camera > | camera |
|
size_t | width |
|
size_t | height |
|
unique_vector< Bsdf > | bsdfs |
|
unique_vector< Light > | lights |
|
unique_vector< Texture > | textures |
|
std::vector< Material > | materials |
|
Bvh | bvh |
|
std::vector< float3 > | vertices |
|
std::vector< float2 > | texcoords |
|
std::vector< float3 > | normals |
|
std::vector< uint32_t > | indices |
|
std::vector< float3 > | face_normals |
|
◆ intersect()
Hit Scene::intersect |
( |
const Ray & |
ray | ) |
const |
|
inline |
Returns the intersection point between a ray and the scene. If not intersection is found, hit.tri == -1.
The documentation for this struct was generated from the following file: