diff --git a/YACReaderLibrary/yacreaderlibrary_es.qm b/YACReaderLibrary/yacreaderlibrary_es.qm index 19156329..4e002cdf 100644 Binary files a/YACReaderLibrary/yacreaderlibrary_es.qm and b/YACReaderLibrary/yacreaderlibrary_es.qm differ diff --git a/YACReaderLibrary/yacreaderlibrary_es.ts b/YACReaderLibrary/yacreaderlibrary_es.ts index 56397684..938f9f37 100644 --- a/YACReaderLibrary/yacreaderlibrary_es.ts +++ b/YACReaderLibrary/yacreaderlibrary_es.ts @@ -180,7 +180,7 @@ Create a library could take several minutes. You can stop the process and update the library later for completing the task. - Crear una biblioteca puede llevar varios minutos. Puedesde parar el proceso en cualquier momento y completar la tarea más tarde. + Crear una biblioteca puede llevar varios minutos. Puedes parar el proceso en cualquier momento y completar la tarea más tarde. diff --git a/common/yacreader_flow_gl.cpp b/common/yacreader_flow_gl.cpp index 1e3a276f..ffeb5c1d 100644 --- a/common/yacreader_flow_gl.cpp +++ b/common/yacreader_flow_gl.cpp @@ -2,10 +2,11 @@ #include #include -#include +//#include #include #include #include +#include /*** Animation Settings ***/ @@ -351,7 +352,7 @@ void YACReaderFlowGL::animate(RVect *Current,RVect to) Current->y = Current->y+(to.y-Current->y)*config.animationStep; Current->z = Current->z+(to.z-Current->z)*config.animationStep; - if(abs(to.rot-Current->rot) > 0.01){ + if(fabs(to.rot-Current->rot) > 0.01){ Current->rot = Current->rot+(to.rot-Current->rot)*(config.animationStep*config.preRotation); } else @@ -364,7 +365,7 @@ void YACReaderFlowGL::drawCover(CFImage *CF) float h = CF->height; //fadeout - float opacity = 1-1/(config.animationFadeOutDist+config.viewRotateLightStrenght*abs(viewRotate))*abs(0-CF->current.x); + float opacity = 1-1/(config.animationFadeOutDist+config.viewRotateLightStrenght*fabs(viewRotate))*fabs(0-CF->current.x); glLoadIdentity(); glTranslatef(config.cfX,config.cfY,config.cfZ); @@ -601,7 +602,7 @@ void YACReaderFlowGL::updatePositions() viewRotate += (0-viewRotate)*config.viewRotateSub; } - if(abs (cfImages[currentSelected].current.x - cfImages[currentSelected].animEnd.x) < 1)//viewRotate < 0.2) + if(fabs (cfImages[currentSelected].current.x - cfImages[currentSelected].animEnd.x) < 1)//viewRotate < 0.2) { cleanupAnimation(); if(updateCount >= 0) //TODO parametrizar