root/OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/Types.h @ 13041

Revision 13041, 1.4 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
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
23namespace flt {
24
25#if defined(_MSC_VER)
26
27typedef __int8              int8;
28typedef unsigned __int8     uint8;
29typedef __int16             int16;
30typedef unsigned __int16    uint16;
31typedef __int32             int32;
32typedef unsigned __int32    uint32;
33typedef float               float32;
34typedef double              float64;
35
36#else
37
38typedef signed char         int8;
39typedef unsigned char       uint8;
40typedef signed short        int16;
41typedef unsigned short      uint16;
42typedef signed int          int32;
43typedef unsigned int        uint32;
44typedef float               float32;
45typedef double              float64;
46
47#endif
48
49} // end namespace
50
51#endif
Note: See TracBrowser for help on using the browser.