X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=blobdiff_plain;f=Source%2FAnimation%2FSkeleton.hpp;h=908d2a884c731d38d0bf121234beac30dec95cc0;hp=029096013ed13c46860b9e23b61478753c5db057;hb=6a8cb464330e92163c8feaf101b8b5837c973bba;hpb=5fca41ab430df85d6dd620a7f4130df01bc1430f diff --git a/Source/Animation/Skeleton.hpp b/Source/Animation/Skeleton.hpp index 0290960..908d2a8 100644 --- a/Source/Animation/Skeleton.hpp +++ b/Source/Animation/Skeleton.hpp @@ -24,9 +24,9 @@ along with Lugaru. If not, see . #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 "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(float* scale); 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