Pathnames between #include files that are intended to be used within application code should not depend on the paths to the subdirectories being known to the compiler because this will not always be the case when an end-user includes your headers.

Includes of files in the local hierarchy must not use <...> please stick with "..."
This commit is contained in:
sjbaker
2006-12-26 15:33:28 +00:00
parent 208bbe7594
commit e9b21e21a6
80 changed files with 161 additions and 173 deletions

View File

@@ -17,8 +17,8 @@ subject to the following restrictions:
#ifndef AABB_UTIL2
#define AABB_UTIL2
#include "LinearMath/btVector3.h"
#include "LinearMath/btSimdMinMax.h"
#include "btVector3.h"
#include "btSimdMinMax.h"
#define btMin(a,b) ((a < b ? a : b))

View File

@@ -28,7 +28,7 @@ DEALINGS IN THE SOFTWARE.
#ifndef IDEBUG_DRAW__H
#define IDEBUG_DRAW__H
#include "LinearMath/btVector3.h"
#include "btVector3.h"
class btIDebugDraw

View File

@@ -16,10 +16,10 @@ subject to the following restrictions:
#ifndef btMatrix3x3_H
#define btMatrix3x3_H
#include "LinearMath/btScalar.h"
#include "btScalar.h"
#include "LinearMath/btVector3.h"
#include "LinearMath/btQuaternion.h"
#include "btVector3.h"
#include "btQuaternion.h"
class btMatrix3x3 {

View File

@@ -16,7 +16,7 @@ subject to the following restrictions:
#ifndef BT_MOTIONSTATE_H
#define BT_MOTIONSTATE_H
#include "LinearMath/btTransform.h"
#include "btTransform.h"
///btMotionState allows the dynamics world to synchronize the updated world transforms with graphics
///For optimizations, potentially only moving objects get synchronized (using setWorldPosition/setWorldOrientation)

View File

@@ -17,7 +17,7 @@ subject to the following restrictions:
#ifndef btPoint3_H
#define btPoint3_H
#include "LinearMath/btVector3.h"
#include "btVector3.h"
typedef btVector3 btPoint3;

View File

@@ -16,7 +16,7 @@ subject to the following restrictions:
#ifndef SIMD_QUADWORD_H
#define SIMD_QUADWORD_H
#include "LinearMath/btScalar.h"
#include "btScalar.h"

View File

@@ -17,7 +17,7 @@ subject to the following restrictions:
#ifndef SIMD__QUATERNION_H_
#define SIMD__QUATERNION_H_
#include "LinearMath/btVector3.h"
#include "btVector3.h"
class btQuaternion : public btQuadWord {
public:

View File

@@ -16,7 +16,7 @@ subject to the following restrictions:
#ifndef SIMD_MINMAX_H
#define SIMD_MINMAX_H
#include "LinearMath/btScalar.h"
#include "btScalar.h"
template <class T>
SIMD_FORCE_INLINE const T& btMin(const T& a, const T& b) {

View File

@@ -17,8 +17,8 @@ subject to the following restrictions:
#ifndef btTransform_H
#define btTransform_H
#include "LinearMath/btVector3.h"
#include "LinearMath/btMatrix3x3.h"
#include "btVector3.h"
#include "btMatrix3x3.h"
///btTransform supports rigid transforms (only translation and rotation, no scaling/shear)

View File

@@ -16,7 +16,7 @@ subject to the following restrictions:
#ifndef SIMD_TRANSFORM_UTIL_H
#define SIMD_TRANSFORM_UTIL_H
#include "LinearMath/btTransform.h"
#include "btTransform.h"
#define ANGULAR_MOTION_THRESHOLD btScalar(0.5)*SIMD_HALF_PI