DHART
Loading...
Searching...
No Matches
RayRequest.cpp
Go to the documentation of this file.
1
7
8#include "RayRequest.h"
9
10HF::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
14{
15 return mesh_id != -1;
16}
Contains definitions for the RayTracer namespace.
bool didHit()
Default constructor, empty code block.
Definition: RayRequest.cpp:13
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