Loading [MathJax]/jax/output/HTML-CSS/config.js
Photon Engine
2.0.0-beta
A physically based renderer.
Toggle main menu visibility
Home
Components
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
g
h
k
m
p
r
s
t
u
x
y
z
Typedefs
a
b
c
d
e
f
h
i
k
l
m
p
q
r
s
t
v
Enumerations
e
Enumerator
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
i
k
m
n
o
p
r
s
t
v
w
Enumerations
Related Symbols
Files
File List
File Members
All
b
c
f
i
k
m
p
s
Functions
Typedefs
Macros
▼
Photon Engine
Home
Components
►
Engine
►
Engine Directories
Bibliography
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
Documentation
►
Include
▼
Source
►
Actor
►
Api
►
Common
►
Core
►
DataIO
►
EngineEnv
►
Frame
▼
Math
►
Algorithm
►
Color
►
Function
►
General
►
Geometry
►
Physics
►
Random
►
Solver
►
Transform
►
constant.h
►
hash.h
►
hash.ipp
►
math.cpp
►
math.h
►
math.ipp
math_common.h
►
math_exceptions.h
►
math_fwd.h
►
math_table.h
►
Real.h
►
TArithmeticArray.h
TArithmeticArray.ipp
►
TFraction.h
►
time.h
►
TMatrix2.h
TMatrix2.ipp
►
TMatrix3.h
TMatrix3.ipp
►
TMatrix4.h
TMatrix4.ipp
►
TOrthonormalBasis3.h
TOrthonormalBasis3.ipp
►
TQuaternion.h
TQuaternion.ipp
►
TVector2.h
TVector2.ipp
►
TVector3.h
TVector3.ipp
►
TVector4.h
TVector4.ipp
►
SDL
►
Utility
►
World
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
Real.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <Common/primitive_type.h>
4
5
#include <vector>
6
7
namespace
ph::math
8
{
9
10
class
Real
11
{
12
public
:
13
inline
Real
() :
14
Real
(0.0_r) {}
13
inline
Real
() : {
…
}
15
16
inline
Real
(
const
real value) :
17
m_value(value) {}
16
inline
Real
(
const
real value) : {
…
}
18
19
inline
Real
(
const
std::vector<real>& values) :
20
Real
(values.empty() ? 0.0_r : values[0]) {}
19
inline
Real
(
const
std::vector<real>& values) : {
…
}
21
22
inline
~Real
() =
default
;
23
24
inline
operator
real ()
const
25
{
26
return
m_value;
27
}
24
inline
operator
real ()
const
{
…
}
28
29
private
:
30
real m_value;
31
};
10
class
Real
{
…
};
32
33
}
// end namespace ph::math
ph::math::Real
Definition
Real.h:11
ph::math::Real::Real
Real()
Definition
Real.h:13
ph::math::Real::Real
Real(const std::vector< real > &values)
Definition
Real.h:19
ph::math::Real::~Real
~Real()=default
ph::math::Real::Real
Real(const real value)
Definition
Real.h:16
ph::math
Math functions and utilities.
Definition
TransformInfo.h:10
Source
Math
Real.h
Generated by
1.11.0