Merge branch 'Branch_2.86.1'

This commit is contained in:
nicolaichuk
2017-03-29 18:21:42 +03:00
3 changed files with 1 additions and 79 deletions

View File

@@ -235,23 +235,6 @@ public:
btAABB()
{}
bool operator<(const btAABB& obj) const {
return
m_min < obj.m_min &&
m_max < obj.m_max;
}
bool operator>(const btAABB& obj) const {
return
m_min > obj.m_min &&
m_max > obj.m_max;
}
bool operator==(const btAABB& obj) const {
return
m_min == obj.m_min &&
m_max == obj.m_max;
}
btAABB(const btVector3 & V1,
const btVector3 & V2,

View File

@@ -35,25 +35,6 @@ struct GIM_PAIR
{
int m_index1;
int m_index2;
bool operator<(const GIM_PAIR& obj) const {
return
m_index1 < obj.m_index1 &&
m_index2 < obj.m_index2;
}
bool operator>(const GIM_PAIR& obj) const {
return
m_index1 > obj.m_index1 &&
m_index2 > obj.m_index2;
}
bool operator==(const GIM_PAIR& obj) const {
return
m_index1 == obj.m_index1 &&
m_index2 == obj.m_index2;
}
GIM_PAIR()
{}
@@ -75,24 +56,6 @@ struct GIM_BVH_DATA
{
btAABB m_bound;
int m_data;
bool operator<(const GIM_BVH_DATA& obj) const {
return
m_bound < obj.m_bound &&
m_data < obj.m_data;
}
bool operator>(const GIM_BVH_DATA& obj) const {
return
m_bound > obj.m_bound &&
m_data > obj.m_data;
}
bool operator==(const GIM_BVH_DATA& obj) const {
return
m_bound == obj.m_bound &&
m_data == obj.m_data;
}
};
//! Node Structure for trees
@@ -103,25 +66,6 @@ public:
protected:
int m_escapeIndexOrDataIndex;
public:
bool operator<(const GIM_BVH_TREE_NODE& obj) const {
return
m_bound < obj.m_bound &&
m_escapeIndexOrDataIndex < obj.m_escapeIndexOrDataIndex;
}
bool operator>(const GIM_BVH_TREE_NODE& obj) const {
return
m_bound > obj.m_bound &&
m_escapeIndexOrDataIndex > obj.m_escapeIndexOrDataIndex;
}
bool operator==(const GIM_BVH_TREE_NODE& obj) const {
return
m_bound == obj.m_bound &&
m_escapeIndexOrDataIndex == obj.m_escapeIndexOrDataIndex;
}
GIM_BVH_TREE_NODE()
{
m_escapeIndexOrDataIndex = 0;

View File

@@ -24,11 +24,6 @@
fprintf(stderr, "[Warning:%s:%d] ", __INVDYN_FILE_WO_DIR__, __LINE__); \
fprintf(stderr, __VA_ARGS__); \
} while (0)
#define warning_message(...) \
do { \
fprintf(stderr, "[Warning:%s:%d] ", __INVDYN_FILE_WO_DIR__, __LINE__); \
fprintf(stderr, __VA_ARGS__); \
} while (0)
#define id_printf(...) printf(__VA_ARGS__)
#endif // BT_ID_WO_BULLET
#endif