remove constructors, they cause compile errors under Fedora

This commit is contained in:
Erwin Coumans
2011-03-22 16:30:46 +00:00
parent f78e11dc38
commit c7f37b84d8

View File

@@ -205,14 +205,12 @@ public:
btScalar m_kAST; // Area/Angular stiffness coefficient [0,1] btScalar m_kAST; // Area/Angular stiffness coefficient [0,1]
btScalar m_kVST; // Volume stiffness coefficient [0,1] btScalar m_kVST; // Volume stiffness coefficient [0,1]
int m_flags; // Flags int m_flags; // Flags
Material() : Element() {}
}; };
/* Feature */ /* Feature */
struct Feature : Element struct Feature : Element
{ {
Material* m_material; // Material Material* m_material; // Material
Feature() : Element() {}
}; };
/* Node */ /* Node */
struct Node : Feature struct Node : Feature
@@ -226,7 +224,6 @@ public:
btScalar m_area; // Area btScalar m_area; // Area
btDbvtNode* m_leaf; // Leaf data btDbvtNode* m_leaf; // Leaf data
int m_battach:1; // Attached int m_battach:1; // Attached
Node() : Feature() {}
}; };
/* Link */ /* Link */
struct Link : Feature struct Link : Feature
@@ -238,7 +235,6 @@ public:
btScalar m_c1; // rl^2 btScalar m_c1; // rl^2
btScalar m_c2; // |gradient|^2/c0 btScalar m_c2; // |gradient|^2/c0
btVector3 m_c3; // gradient btVector3 m_c3; // gradient
Link() : Feature() {}
}; };
/* Face */ /* Face */
struct Face : Feature struct Face : Feature
@@ -247,7 +243,6 @@ public:
btVector3 m_normal; // Normal btVector3 m_normal; // Normal
btScalar m_ra; // Rest area btScalar m_ra; // Rest area
btDbvtNode* m_leaf; // Leaf data btDbvtNode* m_leaf; // Leaf data
Face() : Feature() {}
}; };
/* Tetra */ /* Tetra */
struct Tetra : Feature struct Tetra : Feature
@@ -258,7 +253,6 @@ public:
btVector3 m_c0[4]; // gradients btVector3 m_c0[4]; // gradients
btScalar m_c1; // (4*kVST)/(im0+im1+im2+im3) btScalar m_c1; // (4*kVST)/(im0+im1+im2+im3)
btScalar m_c2; // m_c1/sum(|g0..3|^2) btScalar m_c2; // m_c1/sum(|g0..3|^2)
Tetra() : Feature() {}
}; };
/* RContact */ /* RContact */
struct RContact struct RContact
@@ -300,7 +294,6 @@ public:
int m_rank; // Rank int m_rank; // Rank
Node* m_nodes[4]; // Nodes Node* m_nodes[4]; // Nodes
btScalar m_coords[4]; // Coordinates btScalar m_coords[4]; // Coordinates
Note() : Element() {}
}; };
/* Pose */ /* Pose */
struct Pose struct Pose