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