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