X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=blobdiff_plain;f=Source%2FAnimation%2FMuscle.cpp;h=da43de4f02bb5258513ce1bb8f465eadd2d821f1;hp=6ccad1816c6574423fd9b5025924f097fefaee02;hb=8b6e8f3ad7390309795eb35c0959264cb7924402;hpb=531fd8d27258d6c15d6fd221272c74b48602a85a diff --git a/Source/Animation/Muscle.cpp b/Source/Animation/Muscle.cpp index 6ccad18..da43de4 100644 --- a/Source/Animation/Muscle.cpp +++ b/Source/Animation/Muscle.cpp @@ -25,19 +25,28 @@ along with Lugaru. If not, see . extern float multiplier; extern bool freeze; -Muscle::Muscle() : - length(0), - targetlength(0), - parent1(0), - parent2(0), - maxlength(0), - minlength(0), - type(boneconnect), - visible(false), - rotate1(0), rotate2(0), rotate3(0), - lastrotate1(0), lastrotate2(0), lastrotate3(0), - oldrotate1(0), oldrotate2(0), oldrotate3(0), - newrotate1(0), newrotate2(0), newrotate3(0), +Muscle::Muscle() + : length(0) + , targetlength(0) + , parent1(0) + , parent2(0) + , maxlength(0) + , minlength(0) + , type(boneconnect) + , visible(false) + , rotate1(0) + , rotate2(0) + , rotate3(0) + , lastrotate1(0) + , lastrotate2(0) + , lastrotate3(0) + , oldrotate1(0) + , oldrotate2(0) + , oldrotate3(0) + , newrotate1(0) + , newrotate2(0) + , newrotate3(0) + , strength(0) { @@ -97,7 +106,6 @@ void Muscle::loadVerticesClothes(FILE* tfile, int vertexNum) } } - /* EFFECT * sets strength, length, * parent1->position, parent2->position,