HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Imath.h
Go to the documentation of this file.
1 // Copyright 2008-present Contributors to the OpenImageIO project.
2 // SPDX-License-Identifier: BSD-3-Clause
3 // https://github.com/OpenImageIO/oiio/
4 
5 // clang-format off
6 
7 #pragma once
8 
9 
10 // Determine which Imath we're dealing with and include the appropriate
11 // headers.
12 
13 #define OIIO_USING_IMATH 3
14 
15 #if OIIO_USING_IMATH >= 3
16 # include <Imath/ImathColor.h>
17 # include <Imath/ImathMatrix.h>
18 # include <Imath/ImathVec.h>
19 # include <Imath/half.h>
20 #else
21 # include <OpenEXR/ImathColor.h>
22 # include <OpenEXR/ImathMatrix.h>
23 # include <OpenEXR/ImathVec.h>
24 # include <OpenEXR/half.h>
25 #endif