Panda3D

physx_includes.h

00001 // Filename: ode_includes.h
00002 // Created by:  joswilso (30Jan07)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef PHYSX_INCLUDES_H
00016 #define PHYSX_INCLUDES_H
00017 
00018 // This one is safe to include
00019 #include "NxVersionNumber.h"
00020 
00021 // Platform-specific defines
00022 #if NATIVE_WORDSIZE == 64
00023 #define NX64 1
00024 #endif
00025 
00026 #if NATIVE_WORDSIZE == 32
00027 #define NX32 1
00028 #endif
00029 
00030 #ifdef IS_LINUX
00031 #define LINUX 1
00032 #define CORELIB 1
00033 #define NX_DISABLE_HARDWARE 1
00034 #if NX_SDK_VERSION_NUMBER <= 281
00035 // Defining this in 2.8.3.3 yields a crash.
00036 #define NX_DISABLE_FLUIDS 1
00037 #endif
00038 #endif
00039 
00040 
00041 // Undefine min and max before any PhysX headers get included
00042 #undef min
00043 #undef max
00044 
00045 
00046 // PhysX headers
00047 #include "NxPhysics.h"
00048 #include "NxExtended.h"
00049 #include "NxStream.h"
00050 #include "NxCooking.h"
00051 #include "NxController.h"
00052 #include "NxControllerManager.h"
00053 #include "NxBoxController.h"
00054 #include "NxCapsuleController.h"
00055 
00056 
00057 #endif // PHYSX_INCLUDES_H
 All Classes Functions Variables Enumerations