Searched refs:thisCenterX (Results 1 – 1 of 1) sorted by relevance
2678 qreal thisCenterX = x() + (side == BasketScene::LEFT_SIDE ? width() : /*RIGHT_SIDE:*/ 0); in distanceOnLeftRight() local2691 if (noteCenterX - thisCenterX != 0) in distanceOnLeftRight()2692 angle = 1000 * ((noteCenterY - thisCenterY) / (noteCenterX - thisCenterX)); in distanceOnLeftRight()2696 return sqrt(pow(noteCenterX - thisCenterX, 2) + pow(noteCenterY - thisCenterY, 2)) + angle; in distanceOnLeftRight()2713 qreal thisCenterX = x() + width() / 2; in distanceOnTopBottom() local2718 if (thisCenterX > note->finalRightLimit()) in distanceOnTopBottom()2720 else if (thisCenterX < note->x()) in distanceOnTopBottom()2723 noteCenterX = thisCenterX; in distanceOnTopBottom()2726 if (noteCenterX - thisCenterX != 0) in distanceOnTopBottom()2727 angle = 1000 * ((noteCenterY - thisCenterY) / (noteCenterX - thisCenterX)); in distanceOnTopBottom()[all …]