- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/bullet/BulletCollision/Gimpact/btGImpactBvh.cpp
r2907 r2908 151 151 } 152 152 153 btAssert(!((splitIndex==startIndex) || (splitIndex == (endIndex)))); 153 bool unbal = (splitIndex==startIndex) || (splitIndex == (endIndex)); 154 btAssert(!unbal); 154 155 155 156 return splitIndex; -
code/branches/questsystem5/src/bullet/BulletCollision/Gimpact/btGImpactQuantizedBvh.cpp
r2907 r2908 172 172 } 173 173 174 btAssert(!((splitIndex==startIndex) || (splitIndex == (endIndex)))); 174 bool unbal = (splitIndex==startIndex) || (splitIndex == (endIndex)); 175 btAssert(!unbal); 175 176 176 177 return splitIndex; -
code/branches/questsystem5/src/bullet/BulletCollision/Gimpact/btGImpactShape.h
r2907 r2908 882 882 class btGImpactMeshShape : public btGImpactShapeInterface 883 883 { 884 btStridingMeshInterface* m_meshInterface;885 886 884 protected: 887 885 btAlignedObjectArray<btGImpactMeshShapePart*> m_mesh_parts; … … 910 908 btGImpactMeshShape(btStridingMeshInterface * meshInterface) 911 909 { 912 m_meshInterface = meshInterface;913 910 buildMeshParts(meshInterface); 914 911 } … … 926 923 927 924 928 btStridingMeshInterface* getMeshInterface()929 {930 return m_meshInterface;931 }932 933 const btStridingMeshInterface* getMeshInterface() const934 {935 return m_meshInterface;936 }937 925 938 926 int getMeshPartCount() const … … 1046 1034 1047 1035 //! call when reading child shapes 1048 virtual void lockChildShapes() const1049 { 1050 btAssert(0); 1051 } 1052 1053 virtual void unlockChildShapes() const1036 virtual void lockChildShapes() 1037 { 1038 btAssert(0); 1039 } 1040 1041 virtual void unlockChildShapes() 1054 1042 { 1055 1043 btAssert(0); -
code/branches/questsystem5/src/bullet/BulletCollision/Gimpact/gim_box_set.cpp
r2907 r2908 111 111 } 112 112 113 btAssert(!((splitIndex==startIndex) || (splitIndex == (endIndex)))); 113 bool unbal = (splitIndex==startIndex) || (splitIndex == (endIndex)); 114 btAssert(!unbal); 114 115 115 116 return splitIndex; … … 180 181 } 181 182 182 -
code/branches/questsystem5/src/bullet/BulletCollision/Gimpact/gim_math.h
r2907 r2908 108 108 #define GIM_CLAMP(number,minval,maxval) (number<minval?minval:(number>maxval?maxval:number)) 109 109 110 #define GIM_GREATER(x, y) btFabs(x) > (y)110 #define GIM_GREATER(x, y) fabsf(x) > (y) 111 111 112 112 ///Swap numbers -
code/branches/questsystem5/src/bullet/BulletCollision/Gimpact/gim_tri_collision.h
r2907 r2908 276 276 else 277 277 { 278 btScalarsumuv;278 float sumuv; 279 279 sumuv = u+v; 280 280 if(sumuv<-G_EPSILON)
Note: See TracChangeset
for help on using the changeset viewer.