The abstraction of a Photon class that stores the origin, direction and power of a photon three methods implemented to use the PointKDTree data structre. More...
#include <RayTracer.h>
Static Public Member Functions | |
| static bool | equals (const Photon &p, const Photon &q) |
| static void | getPosition (const Photon &p, Vector3 &pos) |
| static size_t | hashCode (const Photon &key) |
Public Attributes | |
| Vector3 | direction |
| Point3 | origin |
| Power3 | power |
The abstraction of a Photon class that stores the origin, direction and power of a photon three methods implemented to use the PointKDTree data structre.
|
static |
|
static |
| Vector3 RayTracer::Photon::direction |
| Point3 RayTracer::Photon::origin |
| Power3 RayTracer::Photon::power |
1.8.7