OpenVDB
13.0.0
Loading...
Searching...
No Matches
HalfDecl.h
Go to the documentation of this file.
1
// Copyright Contributors to the OpenVDB Project
2
// SPDX-License-Identifier: Apache-2.0
3
4
#ifndef OPENVDB_HALFDECL_HAS_BEEN_INCLUDED
5
#define OPENVDB_HALFDECL_HAS_BEEN_INCLUDED
6
7
#ifdef OPENVDB_USE_IMATH_HALF
8
#ifdef OPENVDB_IMATH_VERSION
9
#include <Imath/half.h>
10
#else
11
#include <OpenEXR/half.h>
12
#endif
13
namespace
openvdb
{
14
OPENVDB_USE_VERSION_NAMESPACE
15
namespace
OPENVDB_VERSION_NAME
{
16
namespace
math {
17
using
half
=
half
;
18
}}}
19
#else
20
#include <
openvdb/math/Half.h
>
21
namespace
openvdb
{
22
OPENVDB_USE_VERSION_NAMESPACE
23
namespace
OPENVDB_VERSION_NAME
{
24
namespace
math {
25
using
half
=
internal::half
;
26
}}}
27
#endif
28
29
30
#endif
// OPENVDB_HALFDECL_HAS_BEEN_INCLUDED
Half.h
openvdb::v13_0::math::internal::half
Definition
Half.h:509
openvdb::v13_0::math::internal::half
imath_half_bits_t half
if we're in a C-only context, alias the half bits type to half
Definition
Half.h:283
openvdb::v13_0::math::half
internal::half half
Definition
HalfDecl.h:25
openvdb
Definition
Exceptions.h:13
OPENVDB_VERSION_NAME
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition
version.h.in:121
OPENVDB_USE_VERSION_NAMESPACE
#define OPENVDB_USE_VERSION_NAMESPACE
Definition
version.h.in:218
openvdb
math
HalfDecl.h
Generated by
1.16.1