DHART
Loading...
Searching...
No Matches
RayRequest.cpp
Go to the documentation of this file.
1
7
8
#include "
RayRequest.h
"
9
10
HF::RayTracer::RayRequest::RayRequest
(
float
X,
float
Y,
float
Z,
float
DX,
float
DY,
float
DZ,
float
Distance) :
11
x(X), y(Y), z(Z), dx(DX), dy(DY), dz(DZ), distance(Distance) {};
12
13
bool
HF::RayTracer::RayRequest::didHit
()
14
{
15
return
mesh_id != -1;
16
}
RayRequest.h
Contains definitions for the RayTracer namespace.
HF::RayTracer::RayRequest::didHit
bool didHit()
Default constructor, empty code block.
Definition:
RayRequest.cpp:13
HF::RayTracer::RayRequest::RayRequest
RayRequest(float x, float y, float z, float dx, float dy, float dz, float Distance=-1)
Constructs a RayRequest from origin points (x, y, z) and destination points (dx, dy,...
Definition:
RayRequest.cpp:10
Cpp
raytracer
src
RayRequest.cpp
Generated by
1.9.5