Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2006-01-06 02:10:54 +0300
committerKent Mein <mein@cs.umn.edu>2006-01-06 02:10:54 +0300
commit39fcd3586f905f36f2668850a4be5e77c5d70018 (patch)
tree1698797b0404603b680e1d74f98c91347f7c7109 /extern
parent2901da3c29087f5db3fadcbc6a2b3e05d8cdf0fb (diff)
Lots of stupid warning fixes:
Added newlines at end of a bunch of files that didn't have them. removed a couple of unused variables and an extra ';' (Also removed config.h crap from these files) Kent
Diffstat (limited to 'extern')
-rw-r--r--extern/bullet/Bullet/CollisionShapes/BoxShape.cpp3
-rw-r--r--extern/bullet/Bullet/CollisionShapes/ConeShape.h3
-rw-r--r--extern/bullet/Bullet/CollisionShapes/ConvexHullShape.h3
-rw-r--r--extern/bullet/Bullet/CollisionShapes/ConvexTriangleCallback.h3
-rw-r--r--extern/bullet/Bullet/CollisionShapes/CylinderShape.h3
-rw-r--r--extern/bullet/Bullet/CollisionShapes/OptimizedBvh.h3
-rw-r--r--extern/bullet/Bullet/CollisionShapes/StridingMeshInterface.cpp3
-rw-r--r--extern/bullet/Bullet/CollisionShapes/TriangleCallback.cpp3
-rw-r--r--extern/bullet/Bullet/CollisionShapes/TriangleIndexVertexArray.h3
-rw-r--r--extern/bullet/Bullet/CollisionShapes/TriangleShape.h3
-rw-r--r--extern/bullet/Bullet/NarrowPhaseCollision/ContinuousConvexCollision.h3
-rw-r--r--extern/bullet/Bullet/NarrowPhaseCollision/ConvexPenetrationDepthSolver.h3
-rw-r--r--extern/bullet/Bullet/NarrowPhaseCollision/GjkConvexCast.cpp3
-rw-r--r--extern/bullet/Bullet/NarrowPhaseCollision/ManifoldContactAddResult.cpp3
-rw-r--r--extern/bullet/Bullet/NarrowPhaseCollision/PointCollector.h3
-rw-r--r--extern/bullet/Bullet/NarrowPhaseCollision/RaycastCallback.h3
-rw-r--r--extern/bullet/BulletDynamics/ConstraintSolver/Solve2LinearConstraint.cpp3
-rw-r--r--extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h3
-rw-r--r--extern/bullet/BulletDynamics/Dynamics/ContactJoint.h4
-rw-r--r--extern/bullet/BulletDynamics/Dynamics/MassProps.h3
-rw-r--r--extern/bullet/Extras/PhysicsInterface/Common/PHY_IMotionState.cpp4
-rw-r--r--extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsController.cpp4
-rw-r--r--extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsEnvironment.cpp4
-rw-r--r--extern/bullet/LinearMath/AabbUtil2.h3
-rw-r--r--extern/bullet/LinearMath/IDebugDraw.h3
-rw-r--r--extern/bullet/LinearMath/SimdTransformUtil.h3
26 files changed, 47 insertions, 35 deletions
diff --git a/extern/bullet/Bullet/CollisionShapes/BoxShape.cpp b/extern/bullet/Bullet/CollisionShapes/BoxShape.cpp
index b3274435263..f7492328c02 100644
--- a/extern/bullet/Bullet/CollisionShapes/BoxShape.cpp
+++ b/extern/bullet/Bullet/CollisionShapes/BoxShape.cpp
@@ -50,4 +50,5 @@ void BoxShape::CalculateLocalInertia(SimdScalar mass,SimdVector3& inertia)
inertia[2] = mass/(12.0f) * (lx*lx + ly*ly);
-} \ No newline at end of file
+}
+
diff --git a/extern/bullet/Bullet/CollisionShapes/ConeShape.h b/extern/bullet/Bullet/CollisionShapes/ConeShape.h
index 5a6b27c904d..55a6d02c334 100644
--- a/extern/bullet/Bullet/CollisionShapes/ConeShape.h
+++ b/extern/bullet/Bullet/CollisionShapes/ConeShape.h
@@ -70,4 +70,5 @@ public:
};
-#endif //CONE_MINKOWSKI_H \ No newline at end of file
+#endif //CONE_MINKOWSKI_H
+
diff --git a/extern/bullet/Bullet/CollisionShapes/ConvexHullShape.h b/extern/bullet/Bullet/CollisionShapes/ConvexHullShape.h
index 76c198ab93a..5906b9354c4 100644
--- a/extern/bullet/Bullet/CollisionShapes/ConvexHullShape.h
+++ b/extern/bullet/Bullet/CollisionShapes/ConvexHullShape.h
@@ -55,4 +55,5 @@ public:
};
-#endif //CONVEX_HULL_SHAPE_H \ No newline at end of file
+#endif //CONVEX_HULL_SHAPE_H
+
diff --git a/extern/bullet/Bullet/CollisionShapes/ConvexTriangleCallback.h b/extern/bullet/Bullet/CollisionShapes/ConvexTriangleCallback.h
index 8e0e446a549..c9f1a4acffd 100644
--- a/extern/bullet/Bullet/CollisionShapes/ConvexTriangleCallback.h
+++ b/extern/bullet/Bullet/CollisionShapes/ConvexTriangleCallback.h
@@ -46,4 +46,5 @@ int m_triangleCount;
};
-#endif //CONVEX_TRIANGLE_CALLBACK_H \ No newline at end of file
+#endif //CONVEX_TRIANGLE_CALLBACK_H
+
diff --git a/extern/bullet/Bullet/CollisionShapes/CylinderShape.h b/extern/bullet/Bullet/CollisionShapes/CylinderShape.h
index 8b1cb66685a..e35464ef1d3 100644
--- a/extern/bullet/Bullet/CollisionShapes/CylinderShape.h
+++ b/extern/bullet/Bullet/CollisionShapes/CylinderShape.h
@@ -82,4 +82,5 @@ public:
};
-#endif //CYLINDER_MINKOWSKI_H \ No newline at end of file
+#endif //CYLINDER_MINKOWSKI_H
+
diff --git a/extern/bullet/Bullet/CollisionShapes/OptimizedBvh.h b/extern/bullet/Bullet/CollisionShapes/OptimizedBvh.h
index 911bb9af432..ca71ded41c9 100644
--- a/extern/bullet/Bullet/CollisionShapes/OptimizedBvh.h
+++ b/extern/bullet/Bullet/CollisionShapes/OptimizedBvh.h
@@ -89,4 +89,5 @@ public:
};
-#endif //OPTIMIZED_BVH_H \ No newline at end of file
+#endif //OPTIMIZED_BVH_H
+
diff --git a/extern/bullet/Bullet/CollisionShapes/StridingMeshInterface.cpp b/extern/bullet/Bullet/CollisionShapes/StridingMeshInterface.cpp
index cbbbdcbe99e..9763a3c02a2 100644
--- a/extern/bullet/Bullet/CollisionShapes/StridingMeshInterface.cpp
+++ b/extern/bullet/Bullet/CollisionShapes/StridingMeshInterface.cpp
@@ -76,4 +76,5 @@ void StridingMeshInterface::InternalProcessAllTriangles(InternalTriangleIndexCal
unLockReadOnlyVertexBase(part);
}
-} \ No newline at end of file
+}
+
diff --git a/extern/bullet/Bullet/CollisionShapes/TriangleCallback.cpp b/extern/bullet/Bullet/CollisionShapes/TriangleCallback.cpp
index 6fc69355c2d..64704dc41fd 100644
--- a/extern/bullet/Bullet/CollisionShapes/TriangleCallback.cpp
+++ b/extern/bullet/Bullet/CollisionShapes/TriangleCallback.cpp
@@ -20,4 +20,5 @@ TriangleCallback::~TriangleCallback()
InternalTriangleIndexCallback::~InternalTriangleIndexCallback()
{
-} \ No newline at end of file
+}
+
diff --git a/extern/bullet/Bullet/CollisionShapes/TriangleIndexVertexArray.h b/extern/bullet/Bullet/CollisionShapes/TriangleIndexVertexArray.h
index 4784dc3938f..1e82950a344 100644
--- a/extern/bullet/Bullet/CollisionShapes/TriangleIndexVertexArray.h
+++ b/extern/bullet/Bullet/CollisionShapes/TriangleIndexVertexArray.h
@@ -43,4 +43,5 @@ public:
virtual void preallocateVertices(int numverts){}
virtual void preallocateIndices(int numindices){}
-}; \ No newline at end of file
+};
+
diff --git a/extern/bullet/Bullet/CollisionShapes/TriangleShape.h b/extern/bullet/Bullet/CollisionShapes/TriangleShape.h
index 60ea95da5d0..570a312da1a 100644
--- a/extern/bullet/Bullet/CollisionShapes/TriangleShape.h
+++ b/extern/bullet/Bullet/CollisionShapes/TriangleShape.h
@@ -143,4 +143,5 @@ public:
};
-#endif //OBB_TRIANGLE_MINKOWSKI_H \ No newline at end of file
+#endif //OBB_TRIANGLE_MINKOWSKI_H
+
diff --git a/extern/bullet/Bullet/NarrowPhaseCollision/ContinuousConvexCollision.h b/extern/bullet/Bullet/NarrowPhaseCollision/ContinuousConvexCollision.h
index b8b31377aa7..94f1dafe1bb 100644
--- a/extern/bullet/Bullet/NarrowPhaseCollision/ContinuousConvexCollision.h
+++ b/extern/bullet/Bullet/NarrowPhaseCollision/ContinuousConvexCollision.h
@@ -43,4 +43,5 @@ public:
};
-#endif //CONTINUOUS_COLLISION_CONVEX_CAST_H \ No newline at end of file
+#endif //CONTINUOUS_COLLISION_CONVEX_CAST_H
+
diff --git a/extern/bullet/Bullet/NarrowPhaseCollision/ConvexPenetrationDepthSolver.h b/extern/bullet/Bullet/NarrowPhaseCollision/ConvexPenetrationDepthSolver.h
index 8af37e08032..a8fdbc55414 100644
--- a/extern/bullet/Bullet/NarrowPhaseCollision/ConvexPenetrationDepthSolver.h
+++ b/extern/bullet/Bullet/NarrowPhaseCollision/ConvexPenetrationDepthSolver.h
@@ -30,4 +30,5 @@ public:
};
-#endif //CONVEX_PENETRATION_DEPTH_H \ No newline at end of file
+#endif //CONVEX_PENETRATION_DEPTH_H
+
diff --git a/extern/bullet/Bullet/NarrowPhaseCollision/GjkConvexCast.cpp b/extern/bullet/Bullet/NarrowPhaseCollision/GjkConvexCast.cpp
index 45d7403586f..4c129848fe0 100644
--- a/extern/bullet/Bullet/NarrowPhaseCollision/GjkConvexCast.cpp
+++ b/extern/bullet/Bullet/NarrowPhaseCollision/GjkConvexCast.cpp
@@ -154,4 +154,5 @@ bool GjkConvexCast::calcTimeOfImpact(
}
return false;
-} \ No newline at end of file
+}
+
diff --git a/extern/bullet/Bullet/NarrowPhaseCollision/ManifoldContactAddResult.cpp b/extern/bullet/Bullet/NarrowPhaseCollision/ManifoldContactAddResult.cpp
index bb45e5215f3..98e45f6d1df 100644
--- a/extern/bullet/Bullet/NarrowPhaseCollision/ManifoldContactAddResult.cpp
+++ b/extern/bullet/Bullet/NarrowPhaseCollision/ManifoldContactAddResult.cpp
@@ -30,4 +30,5 @@ void ManifoldContactAddResult::AddContactPoint(const SimdVector3& normalOnBInWor
{
m_manifoldPtr->AddManifoldPoint(newPt);
}
-} \ No newline at end of file
+}
+
diff --git a/extern/bullet/Bullet/NarrowPhaseCollision/PointCollector.h b/extern/bullet/Bullet/NarrowPhaseCollision/PointCollector.h
index f39fa090ae4..e4f22b69f46 100644
--- a/extern/bullet/Bullet/NarrowPhaseCollision/PointCollector.h
+++ b/extern/bullet/Bullet/NarrowPhaseCollision/PointCollector.h
@@ -33,4 +33,5 @@ struct PointCollector : public DiscreteCollisionDetectorInterface::Result
}
};
-#endif //POINT_COLLECTOR_H \ No newline at end of file
+#endif //POINT_COLLECTOR_H
+
diff --git a/extern/bullet/Bullet/NarrowPhaseCollision/RaycastCallback.h b/extern/bullet/Bullet/NarrowPhaseCollision/RaycastCallback.h
index 8fc97bb3b40..a1d34dcb2f6 100644
--- a/extern/bullet/Bullet/NarrowPhaseCollision/RaycastCallback.h
+++ b/extern/bullet/Bullet/NarrowPhaseCollision/RaycastCallback.h
@@ -37,4 +37,5 @@ public:
virtual void ProcessTriangle(SimdVector3* triangle);
};
-#endif //RAYCAST_TRI_CALLBACK_H \ No newline at end of file
+#endif //RAYCAST_TRI_CALLBACK_H
+
diff --git a/extern/bullet/BulletDynamics/ConstraintSolver/Solve2LinearConstraint.cpp b/extern/bullet/BulletDynamics/ConstraintSolver/Solve2LinearConstraint.cpp
index 4111de679d0..849e57d1088 100644
--- a/extern/bullet/BulletDynamics/ConstraintSolver/Solve2LinearConstraint.cpp
+++ b/extern/bullet/BulletDynamics/ConstraintSolver/Solve2LinearConstraint.cpp
@@ -231,4 +231,5 @@ void Solve2LinearConstraint::resolveAngularConstraint( const SimdMatrix3x3& invI
SimdScalar& imp0,SimdScalar& imp1)
{
-} \ No newline at end of file
+}
+
diff --git a/extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h b/extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h
index 7edeaba3dd1..37fe09c2607 100644
--- a/extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h
+++ b/extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.h
@@ -41,4 +41,5 @@ int dRandInt2 (int n);
#endif //SOR_LCP_H
-#endif //USE_SOR_SOLVER \ No newline at end of file
+#endif //USE_SOR_SOLVER
+
diff --git a/extern/bullet/BulletDynamics/Dynamics/ContactJoint.h b/extern/bullet/BulletDynamics/Dynamics/ContactJoint.h
index 54cc5283da0..4e1dc8e1669 100644
--- a/extern/bullet/BulletDynamics/Dynamics/ContactJoint.h
+++ b/extern/bullet/BulletDynamics/Dynamics/ContactJoint.h
@@ -30,4 +30,6 @@ public:
};
-#endif //CONTACT_JOINT_H \ No newline at end of file
+
+#endif //CONTACT_JOINT_H
+
diff --git a/extern/bullet/BulletDynamics/Dynamics/MassProps.h b/extern/bullet/BulletDynamics/Dynamics/MassProps.h
index 892e1c0b9a8..e0e4e87bc8a 100644
--- a/extern/bullet/BulletDynamics/Dynamics/MassProps.h
+++ b/extern/bullet/BulletDynamics/Dynamics/MassProps.h
@@ -15,4 +15,5 @@ struct MassProps {
};
-#endif \ No newline at end of file
+#endif
+
diff --git a/extern/bullet/Extras/PhysicsInterface/Common/PHY_IMotionState.cpp b/extern/bullet/Extras/PhysicsInterface/Common/PHY_IMotionState.cpp
index b8521ffaf87..1bf92b4effc 100644
--- a/extern/bullet/Extras/PhysicsInterface/Common/PHY_IMotionState.cpp
+++ b/extern/bullet/Extras/PhysicsInterface/Common/PHY_IMotionState.cpp
@@ -13,10 +13,6 @@
#include "PHY_IMotionState.h"
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
PHY_IMotionState::~PHY_IMotionState()
{
diff --git a/extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsController.cpp b/extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsController.cpp
index b051a45bd13..655763d0bf6 100644
--- a/extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsController.cpp
+++ b/extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsController.cpp
@@ -13,10 +13,6 @@
#include "PHY_IPhysicsController.h"
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
PHY_IPhysicsController::~PHY_IPhysicsController()
{
diff --git a/extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsEnvironment.cpp b/extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsEnvironment.cpp
index 1794606edf3..f59efad561a 100644
--- a/extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsEnvironment.cpp
+++ b/extern/bullet/Extras/PhysicsInterface/Common/PHY_IPhysicsEnvironment.cpp
@@ -13,10 +13,6 @@
#include "PHY_IPhysicsEnvironment.h"
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
/**
* Physics Environment takes care of stepping the simulation and is a container for physics entities (rigidbodies,constraints, materials etc.)
* A derived class may be able to 'construct' entities by loading and/or converting
diff --git a/extern/bullet/LinearMath/AabbUtil2.h b/extern/bullet/LinearMath/AabbUtil2.h
index 27172f93139..77271e13202 100644
--- a/extern/bullet/LinearMath/AabbUtil2.h
+++ b/extern/bullet/LinearMath/AabbUtil2.h
@@ -64,4 +64,5 @@ SIMD_FORCE_INLINE bool TestTriangleAgainstAabb2(const SimdVector3 *vertices,
return true;
}
-#endif \ No newline at end of file
+#endif
+
diff --git a/extern/bullet/LinearMath/IDebugDraw.h b/extern/bullet/LinearMath/IDebugDraw.h
index be2e421a77e..7734eccf510 100644
--- a/extern/bullet/LinearMath/IDebugDraw.h
+++ b/extern/bullet/LinearMath/IDebugDraw.h
@@ -57,4 +57,5 @@ class IDebugDraw
};
-#endif //IDEBUG_DRAW__H \ No newline at end of file
+#endif //IDEBUG_DRAW__H
+
diff --git a/extern/bullet/LinearMath/SimdTransformUtil.h b/extern/bullet/LinearMath/SimdTransformUtil.h
index 179e2f51daa..ab3d3f45a30 100644
--- a/extern/bullet/LinearMath/SimdTransformUtil.h
+++ b/extern/bullet/LinearMath/SimdTransformUtil.h
@@ -91,4 +91,5 @@ public:
};
-#endif //SIMD_TRANSFORM_UTIL_H \ No newline at end of file
+#endif //SIMD_TRANSFORM_UTIL_H
+