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