Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TArithmeticArray.ipp
Go to the documentation of this file.
1#pragma once
2
4
5namespace ph::math
6{
7
8template<typename T, std::size_t N>
9template<typename U>
11{
12 for(std::size_t i = 0; i < N; ++i)
13 {
14 m[i] = static_cast<T>(other[i]);
15 }
16}
17
18}// end namespace ph::math
Definition TArithmeticArray.h:13
Math functions and utilities.
Definition TransformInfo.h:10