Indentation style changed to Allman

Using Artistic Style (http://astyle.sourceforge.net/)
Options:
--style=allman
--indent=tab
--keep-one-line-blocks
--align-pointer=type
--align-reference=name
This commit is contained in:
2014-04-11 20:56:19 +02:00
parent 34bcfbce08
commit 4c081d0e1c
56 changed files with 599 additions and 438 deletions
+25 -25
View File
@@ -5,31 +5,31 @@
namespace Components
{
// http://bulletphysics.org/mediawiki-1.5.8/index.php/Constraints
struct HingeConstraint : Component
{
// Create constraint between these entities
EntityID EntityA;
EntityID EntityB;
// The pivot point in local coordinates
glm::vec3 PivotA;
glm::vec3 PivotB;
// The axis to rotate around
glm::vec3 AxisA;
glm::vec3 AxisB;
// http://bulletphysics.org/mediawiki-1.5.8/index.php/Constraints
struct HingeConstraint : Component
{
// Create constraint between these entities
EntityID EntityA;
EntityID EntityB;
// The pivot point in local coordinates
glm::vec3 PivotA;
glm::vec3 PivotB;
// The axis to rotate around
glm::vec3 AxisA;
glm::vec3 AxisB;
/*
void setLimit(btScalar low,
btScalar high,
btScalar softness = 0.9f,
btScalar_biasFactor = 0.3f,
btScalar relaxationFactor = 1.0f)
*/
float LowLimit;
float HighLimit;
float Softness = 0.9f;
float BiasFactor = 0.3f;
float RelaxationFactor = 1.0f;
};
/*
void setLimit(btScalar low,
btScalar high,
btScalar softness = 0.9f,
btScalar_biasFactor = 0.3f,
btScalar relaxationFactor = 1.0f)
*/
float LowLimit;
float HighLimit;
float Softness = 0.9f;
float BiasFactor = 0.3f;
float RelaxationFactor = 1.0f;
};
}
#endif // Components_HingeConstraint_h__