TTK
Loading...
Searching...
No Matches
core
base
boundingVolumeHierarchy
Ray.h
Go to the documentation of this file.
1
7
8
#pragma once
9
10
namespace
ttk
{
11
class
Ray
{
12
public
:
13
Ray
(
float
*direction,
float
*origin) {
14
m_direction
= direction;
15
m_origin
= origin;
16
this->
distance
= 0;
17
this->
u
= 0;
18
this->
v
= 0;
19
}
20
float
*
m_direction
;
21
float
*
m_origin
;
22
float
distance
;
23
float
u
;
24
float
v
;
25
};
26
}
// namespace ttk
ttk::Ray
Data structure for a ray.
Definition
Ray.h:11
ttk::Ray::distance
float distance
Definition
Ray.h:22
ttk::Ray::Ray
Ray(float *direction, float *origin)
Definition
Ray.h:13
ttk::Ray::v
float v
Definition
Ray.h:24
ttk::Ray::m_origin
float * m_origin
Definition
Ray.h:21
ttk::Ray::u
float u
Definition
Ray.h:23
ttk::Ray::m_direction
float * m_direction
Definition
Ray.h:20
ttk
The Topology ToolKit.
Definition
AbstractTriangulation.h:51
Generated on Thu Sep 26 2024 06:50:17 for TTK by
1.9.8