|
Path Tracer
|
A struct binding a pointer to an Object3D, a distance, and a pointer to a KDTreeNode. More...
#include <KDTreeNode.h>
Public Member Functions | |
| Intersection (Object3D *object=nullptr, double distance=INFINITY, const KDTreeNode *kdTreeNode=nullptr) | |
| Main constructor. More... | |
Public Attributes | |
| Object3D * | object |
| The Object3D with which the ray intersects. More... | |
| double | distance |
| The distance between the ray origin and the intersection point. More... | |
| const KDTreeNode * | kdTreeNode |
| The KDTreeNode in which the ray and the object intersect. More... | |
A struct binding a pointer to an Object3D, a distance, and a pointer to a KDTreeNode.
| KDTreeNode::Intersection::Intersection | ( | Object3D * | object = nullptr, |
| double | distance = INFINITY, |
||
| const KDTreeNode * | kdTreeNode = nullptr |
||
| ) |
Main constructor.
| object | The Object3D with which the ray intersects. |
| distance | The distance between the ray origin and the intersection point. |
| kdTreeNode | The KDTreeNode in which the ray and the object intersect. |
| double KDTreeNode::Intersection::distance |
The distance between the ray origin and the intersection point.
| const KDTreeNode * KDTreeNode::Intersection::kdTreeNode |
The KDTreeNode in which the ray and the object intersect.