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
3
#include "
Math/TArithmeticArray.h
"
4
5
namespace
ph::math
6
{
7
8
template
<
typename
T, std::
size_t
N>
9
template
<
typename
U>
10
inline
TArithmeticArray<T, N>::TArithmeticArray
(
const
TArithmeticArray<U, N>
& other)
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
TArithmeticArray.h
ph::math::TArithmeticArray
Definition
TArithmeticArray.h:13
ph::math::TArithmeticArray::TArithmeticArray
TArithmeticArray()=default
ph::math
Math functions and utilities.
Definition
TransformInfo.h:10
Source
Math
TArithmeticArray.ipp
Generated by
1.11.0