if (sRotate==0.0) {
mRotate += 6.0;
if (mRotate>=360.0) {mRotate-=360.0;}
_minute->setRotation(mRotate);
}
if (sRotate==0.0) { //过1分钟应当时针旋转0.5°
hRotate += 0.5;
if (hRotate>=360.0) {hRotate-=360.0;}
_hour->setRotation(hRotate);
}
mRotate += 6.0;
if (mRotate>=360.0) {mRotate-=360.0;}
_minute->setRotation(mRotate);
}
if (sRotate==0.0) { //过1分钟应当时针旋转0.5°
hRotate += 0.5;
if (hRotate>=360.0) {hRotate-=360.0;}
_hour->setRotation(hRotate);
}
2017-07-25