CubbyFlow v0.71
Core
Utils
TypeHelpers.hpp
Go to the documentation of this file.
1
// This code is based on Jet framework.
2
// Copyright (c) 2018 Doyub Kim
3
// CubbyFlow is voxel-based fluid simulation engine for computer games.
4
// Copyright (c) 2020 CubbyFlow Team
5
// Core Part: Chris Ohk, Junwoo Hwang, Jihong Sin, Seungwoo Yoo
6
// AI Part: Dongheon Cho, Minseo Kim
7
// We are making my contributions/submissions to this project solely in our
8
// personal capacity and are not conveying any rights to any intellectual
9
// property of any third parties.
10
11
#ifndef CUBBYFLOW_TYPE_HELPERS_HPP
12
#define CUBBYFLOW_TYPE_HELPERS_HPP
13
14
namespace
CubbyFlow
15
{
17
template
<
typename
T>
18
struct
GetScalarType
19
{
20
typedef
T
value
;
21
};
22
}
// namespace CubbyFlow
23
24
#endif
CubbyFlow::GetScalarType
Returns the type of the value itself.
Definition:
TypeHelpers.hpp:18
CubbyFlow
Definition:
pybind11Utils.hpp:20
CubbyFlow::GetScalarType::value
T value
Definition:
TypeHelpers.hpp:20
Generated on Wed Jul 27 2022 14:50:10 for CubbyFlow by
1.8.13