Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
FullRay.h
Go to the documentation of this file.
1#pragma once
2
3#include "Core/Ray.h"
4
5namespace ph
6{
7
8class FullRay final
9{
10public:
11 FullRay();
12 FullRay(const Ray& headRay);
13
14 inline const Ray& getHeadRay() const
15 {
16 return m_headRay;
17 }
18
19 inline void setHeadRay(const Ray& headRay)
20 {
21 m_headRay = headRay;
22 }
23
24private:
25 Ray m_headRay;
26};
27
28}// end namespace ph
Definition FullRay.h:9
void setHeadRay(const Ray &headRay)
Definition FullRay.h:19
FullRay()
Definition FullRay.cpp:6
const Ray & getHeadRay() const
Definition FullRay.h:14
Represents a ray in space.
Definition Ray.h:21
The root for all renderer implementations.
Definition EEngineProject.h:6