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
4
5#include <utility>
6
7namespace ph::math
8{
9
10template<typename Item>
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
Math functions and utilities.
Definition TransformInfo.h:10
Definition TAABB2D.h:96