2 * SOLID - Software Library for Interference Detection
4 * Copyright (C) 2001-2003 Dtecta. All rights reserved.
6 * This library may be distributed under the terms of the Q Public License
7 * (QPL) as defined by Trolltech AS of Norway and appearing in the file
8 * LICENSE.QPL included in the packaging of this file.
10 * This library may be distributed and/or modified under the terms of the
11 * GNU General Public License (GPL) version 2 as published by the Free Software
12 * Foundation and appearing in the file LICENSE.GPL included in the
13 * packaging of this file.
15 * This library is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 * Commercial use or any other use of this library not covered by either
19 * the QPL or the GPL requires an additional license from Dtecta.
20 * Please contact info@dtecta.com for enquiries about the terms of commercial
21 * use of this library.
29 # define DECLSPEC __declspec(dllexport)
35 #define DT_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name
38 typedef unsigned short DT_Index;
39 typedef unsigned short DT_Count;
40 typedef unsigned int DT_Size;
41 typedef float DT_Scalar;
50 typedef DT_Scalar DT_Vector3[3];
51 typedef DT_Scalar DT_Quaternion[4];