[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35706] trunk/blender/extern/bullet2/src/ BulletSoftBody/btSoftBody.h: remove constructors, they cause compile errors under Fedora
Erwin Coumans
blender at erwincoumans.com
Tue Mar 22 17:30:46 CET 2011
Revision: 35706
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35706
Author: erwin
Date: 2011-03-22 16:30:46 +0000 (Tue, 22 Mar 2011)
Log Message:
-----------
remove constructors, they cause compile errors under Fedora
Modified Paths:
--------------
trunk/blender/extern/bullet2/src/BulletSoftBody/btSoftBody.h
Modified: trunk/blender/extern/bullet2/src/BulletSoftBody/btSoftBody.h
===================================================================
--- trunk/blender/extern/bullet2/src/BulletSoftBody/btSoftBody.h 2011-03-22 15:28:56 UTC (rev 35705)
+++ trunk/blender/extern/bullet2/src/BulletSoftBody/btSoftBody.h 2011-03-22 16:30:46 UTC (rev 35706)
@@ -205,14 +205,12 @@
btScalar m_kAST; // Area/Angular stiffness coefficient [0,1]
btScalar m_kVST; // Volume stiffness coefficient [0,1]
int m_flags; // Flags
- Material() : Element() {}
};
/* Feature */
struct Feature : Element
{
Material* m_material; // Material
- Feature() : Element() {}
};
/* Node */
struct Node : Feature
@@ -226,7 +224,6 @@
btScalar m_area; // Area
btDbvtNode* m_leaf; // Leaf data
int m_battach:1; // Attached
- Node() : Feature() {}
};
/* Link */
struct Link : Feature
@@ -238,7 +235,6 @@
btScalar m_c1; // rl^2
btScalar m_c2; // |gradient|^2/c0
btVector3 m_c3; // gradient
- Link() : Feature() {}
};
/* Face */
struct Face : Feature
@@ -247,7 +243,6 @@
btVector3 m_normal; // Normal
btScalar m_ra; // Rest area
btDbvtNode* m_leaf; // Leaf data
- Face() : Feature() {}
};
/* Tetra */
struct Tetra : Feature
@@ -258,7 +253,6 @@
btVector3 m_c0[4]; // gradients
btScalar m_c1; // (4*kVST)/(im0+im1+im2+im3)
btScalar m_c2; // m_c1/sum(|g0..3|^2)
- Tetra() : Feature() {}
};
/* RContact */
struct RContact
@@ -300,7 +294,6 @@
int m_rank; // Rank
Node* m_nodes[4]; // Nodes
btScalar m_coords[4]; // Coordinates
- Note() : Element() {}
};
/* Pose */
struct Pose
More information about the Bf-blender-cvs
mailing list