create some 'Unity Build' cpp files, to work-around setuptools on Windows creating >32k command-line
see 'won't fix' in https://bugs.python.org/issue1539295
This commit is contained in:
@@ -28,28 +28,7 @@ subject to the following restrictions:
|
||||
|
||||
#include "btBoxCollision.h"
|
||||
#include "btTriangleShapeEx.h"
|
||||
|
||||
//! Overlapping pair
|
||||
struct GIM_PAIR
|
||||
{
|
||||
int m_index1;
|
||||
int m_index2;
|
||||
GIM_PAIR()
|
||||
{
|
||||
}
|
||||
|
||||
GIM_PAIR(const GIM_PAIR& p)
|
||||
{
|
||||
m_index1 = p.m_index1;
|
||||
m_index2 = p.m_index2;
|
||||
}
|
||||
|
||||
GIM_PAIR(int index1, int index2)
|
||||
{
|
||||
m_index1 = index1;
|
||||
m_index2 = index2;
|
||||
}
|
||||
};
|
||||
#include "gim_pair.h" //for GIM_PAIR
|
||||
|
||||
///GIM_BVH_DATA is an internal GIMPACT collision structure to contain axis aligned bounding box
|
||||
struct GIM_BVH_DATA
|
||||
|
||||
@@ -37,28 +37,7 @@ email: projectileman@yahoo.com
|
||||
#include "gim_radixsort.h"
|
||||
#include "gim_box_collision.h"
|
||||
#include "gim_tri_collision.h"
|
||||
|
||||
//! Overlapping pair
|
||||
struct GIM_PAIR
|
||||
{
|
||||
GUINT m_index1;
|
||||
GUINT m_index2;
|
||||
GIM_PAIR()
|
||||
{
|
||||
}
|
||||
|
||||
GIM_PAIR(const GIM_PAIR& p)
|
||||
{
|
||||
m_index1 = p.m_index1;
|
||||
m_index2 = p.m_index2;
|
||||
}
|
||||
|
||||
GIM_PAIR(GUINT index1, GUINT index2)
|
||||
{
|
||||
m_index1 = index1;
|
||||
m_index2 = index2;
|
||||
}
|
||||
};
|
||||
#include "gim_pair.h"
|
||||
|
||||
//! A pairset array
|
||||
class gim_pair_set : public gim_array<GIM_PAIR>
|
||||
|
||||
28
src/BulletCollision/Gimpact/gim_pair.h
Normal file
28
src/BulletCollision/Gimpact/gim_pair.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef GIM_PAIR_H
|
||||
#define GIM_PAIR_H
|
||||
|
||||
|
||||
//! Overlapping pair
|
||||
struct GIM_PAIR
|
||||
{
|
||||
int m_index1;
|
||||
int m_index2;
|
||||
GIM_PAIR()
|
||||
{
|
||||
}
|
||||
|
||||
GIM_PAIR(const GIM_PAIR& p)
|
||||
{
|
||||
m_index1 = p.m_index1;
|
||||
m_index2 = p.m_index2;
|
||||
}
|
||||
|
||||
GIM_PAIR(int index1, int index2)
|
||||
{
|
||||
m_index1 = index1;
|
||||
m_index2 = index2;
|
||||
}
|
||||
};
|
||||
|
||||
#endif //GIM_PAIR_H
|
||||
|
||||
Reference in New Issue
Block a user