root/OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/Types.h
@
13041
| Revision 13041, 1.4 kB (checked in by robert, 14 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield |
| 2 | * |
| 3 | * This library is open source and may be redistributed and/or modified under |
| 4 | * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or |
| 5 | * (at your option) any later version. The full license is in LICENSE file |
| 6 | * included with this distribution, and on the openscenegraph.org website. |
| 7 | * |
| 8 | * This library is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * OpenSceneGraph Public License for more details. |
| 12 | */ |
| 13 | |
| 14 | // |
| 15 | // OpenFlight® loader for OpenSceneGraph |
| 16 | // |
| 17 | // Copyright (C) 2005-2007 Brede Johansen |
| 18 | // |
| 19 | |
| 20 | #ifndef FLT_TYPES_H |
| 21 | #define FLT_TYPES_H 1 |
| 22 | |
| 23 | namespace flt { |
| 24 | |
| 25 | #if defined(_MSC_VER) |
| 26 | |
| 27 | typedef __int8 int8; |
| 28 | typedef unsigned __int8 uint8; |
| 29 | typedef __int16 int16; |
| 30 | typedef unsigned __int16 uint16; |
| 31 | typedef __int32 int32; |
| 32 | typedef unsigned __int32 uint32; |
| 33 | typedef float float32; |
| 34 | typedef double float64; |
| 35 | |
| 36 | #else |
| 37 | |
| 38 | typedef signed char int8; |
| 39 | typedef unsigned char uint8; |
| 40 | typedef signed short int16; |
| 41 | typedef unsigned short uint16; |
| 42 | typedef signed int int32; |
| 43 | typedef unsigned int uint32; |
| 44 | typedef float float32; |
| 45 | typedef double float64; |
| 46 | |
| 47 | #endif |
| 48 | |
| 49 | } // end namespace |
| 50 | |
| 51 | #endif |
Note: See TracBrowser
for help on using the browser.
