Photon Engine
2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TBvhItemInfo.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Math/Geometry/TAABB3D.h
"
4
#include "
Math/TVector3.h
"
5
6
namespace
ph::math
7
{
8
9
template
<
typename
Item>
10
class
TBvhItemInfo
final
11
{
12
public
:
13
AABB3D
aabb
;
14
Vector3R
aabbCentroid
;
15
Item
item
;
16
17
TBvhItemInfo
() =
default
;
18
TBvhItemInfo
(
const
AABB3D
&
aabb
, Item
item
);
19
};
20
21
}
// end namespace ph::math
22
23
#include "
Math/Algorithm/BVH/TBvhItemInfo.ipp
"
TAABB3D.h
TBvhItemInfo.ipp
TVector3.h
ph::math::TAABB3D< real >
ph::math::TBvhItemInfo
Definition
TBvhItemInfo.h:11
ph::math::TBvhItemInfo::item
Item item
Definition
TBvhItemInfo.h:15
ph::math::TBvhItemInfo::TBvhItemInfo
TBvhItemInfo()=default
ph::math::TBvhItemInfo::aabb
AABB3D aabb
Definition
TBvhItemInfo.h:13
ph::math::TBvhItemInfo::aabbCentroid
Vector3R aabbCentroid
Definition
TBvhItemInfo.h:14
ph::math::TVector3< real >
ph::math
Math functions and utilities.
Definition
TransformInfo.h:10
Source
Math
Algorithm
BVH
TBvhItemInfo.h
Generated by
1.11.0