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
4
5#include <array>
6
7namespace ph::math
8{
9
10template<typename T, std::size_t N>
11template<typename U>
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
Definition TVectorN.h:12
Math functions and utilities.
Definition TransformInfo.h:10