Photon Engine
2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TVectorN.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Math/General/TVectorNBase.h
"
4
5
#include <cstddef>
6
7
namespace
ph::math
8
{
9
10
template
<
typename
T, std::
size_t
N>
11
class
TVectorN
final :
public
TVectorNBase
<TVectorN<T, N>, T, N>
12
{
13
private
:
14
using
Base
=
TVectorNBase<TVectorN<T, N>
, T, N>;
15
16
protected
:
17
using
Base::m
;
18
19
public
:
20
inline
TVectorN
() =
default
;
21
inline
TVectorN
(
const
TVectorN
& other) =
default
;
22
inline
TVectorN
(
TVectorN
&& other) =
default
;
23
inline
TVectorN
&
operator =
(
const
TVectorN
& rhs) =
default
;
24
inline
TVectorN
&
operator =
(
TVectorN
&& rhs) =
default
;
25
inline
~TVectorN
() =
default
;
26
27
using
Base::Base
;
28
29
template
<
typename
U>
30
explicit
TVectorN
(
const
TVectorN<U, N>
& other);
31
};
32
33
}
// end namespace ph::math
34
35
#include "
Math/General/TVectorN.ipp
"
TVectorN.ipp
TVectorNBase.h
ph::math::TArithmeticArrayBase< TVectorN< T, N >, T, N >
ph::math::TVectorNBase
Definition
TVectorNBase.h:14
ph::math::TVectorNBase< TVectorN< T, N >, T, N >::m
std::array< T, N > m
Definition
TArithmeticArrayBase.h:217
ph::math::TVectorN
Definition
TVectorN.h:12
ph::math::TVectorN::TVectorN
TVectorN(const TVectorN &other)=default
ph::math::TVectorN::operator=
TVectorN & operator=(const TVectorN &rhs)=default
ph::math::TVectorN::TVectorN
TVectorN(TVectorN &&other)=default
ph::math::TVectorN::TVectorN
TVectorN()=default
ph::math::TVectorN::~TVectorN
~TVectorN()=default
ph::math
Math functions and utilities.
Definition
TransformInfo.h:10
Source
Math
General
TVectorN.h
Generated by
1.11.0