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:
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ subject to the following restrictions:
|
||||
#ifndef SIMD_QUADWORD_H
|
||||
#define SIMD_QUADWORD_H
|
||||
|
||||
#include "LinearMath/btScalar.h"
|
||||
#include "btScalar.h"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user