]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Animation/Skeleton.hpp
clang-format: Apply to all headers
[lugaru.git] / Source / Animation / Skeleton.hpp
index bbf91edd07f9fdbd53edc5be65fcf1d2ff83ddc7..908d2a884c731d38d0bf121234beac30dec95cc0 100644 (file)
@@ -1,6 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -24,10 +24,10 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #include "Animation/Animation.hpp"
 #include "Animation/Joint.hpp"
 #include "Animation/Muscle.hpp"
-#include "Graphic/gamegl.hpp"
 #include "Graphic/Models.hpp"
 #include "Graphic/Sprite.hpp"
-#include "Math/Quaternions.hpp"
+#include "Graphic/gamegl.hpp"
+#include "Math/XYZ.hpp"
 #include "Objects/Object.hpp"
 #include "Utils/binio.h"
 
@@ -79,8 +79,8 @@ public:
     bool freefall;
 
     void FindForwards();
-    float DoConstraints(XYZ *coords, float *scale);
-    void DoGravity(float *scale);
+    float DoConstraints(XYZ* coords, float* scale);
+    void DoGravity(floatscale);
     void FindRotationJoint(int which);
     void FindRotationJointSameTwist(int which);
     void FindRotationMuscle(int which, int animation);
@@ -94,7 +94,6 @@ private:
     inline Joint& joint(int bodypart) { return joints[jointlabels[bodypart]]; }
     inline XYZ& jointPos(int bodypart) { return joint(bodypart).position; }
     inline XYZ& jointVel(int bodypart) { return joint(bodypart).velocity; }
-
 };
 
 #endif