X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FAnimation%2FSkeleton.hpp;h=908d2a884c731d38d0bf121234beac30dec95cc0;hb=6a8cb464330e92163c8feaf101b8b5837c973bba;hp=0f900f548608d10276d045968cf40723a9ed41dc;hpb=03fbcc5b5e18dbf62c48849fc8d02cd250aa744e;p=lugaru.git diff --git a/Source/Animation/Skeleton.hpp b/Source/Animation/Skeleton.hpp index 0f900f5..908d2a8 100644 --- a/Source/Animation/Skeleton.hpp +++ b/Source/Animation/Skeleton.hpp @@ -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,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