Blue Brain BioExplorer
CommonDefines.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018, EPFL/Blue Brain Project
3  * All rights reserved. Do not distribute without permission.
4  * Responsible Author: Jonas Karlsson <jonas.karlsson@epfl.ch>
5  *
6  * This file is part of Blue Brain BioExplorer <https://github.com/BlueBrain/BioExplorer>
7  *
8  * This library is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU Lesser General Public License version 3.0 as published
10  * by the Free Software Foundation.
11  *
12  * This library is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this library; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21 
22 #pragma once
23 
24 #if __cplusplus
26 #define VEC3_TYPE core::Vector3f
27 #define UINT64_T uint64_t
28 #define UINT8_T uint8_t
29 #endif
30 
31 #if ISPC
32 #define VEC3_TYPE vec3f
33 #define UINT64_T unsigned int64
34 #define UINT8_T unsigned int8
35 #endif