Searched refs:maxTranslation (Results 1 – 3 of 3) sorted by relevance
69 calcResult.maxTranslation = calcResult.maxTranslation < 0 ? std::min(width, height) : in CalcDistanceBeforeLifting()70 std::min(calcResult.maxTranslation, std::min(width, height)); in CalcDistanceBeforeLifting()72 calcResult.maxTranslation = calcResult.maxTranslation < 0 ? height : in CalcDistanceBeforeLifting()73 std::min(calcResult.maxTranslation, height); in CalcDistanceBeforeLifting()76 calcResult.maxTranslation *= isGrid ? GRID_MOVE_SCALE : LIST_MOVE_SCALE; in CalcDistanceBeforeLifting()81 …ero(calcResult.maxDistance) || NearZero(calcResult.minDistance) || calcResult.maxTranslation < 0) { in CalcOffsetToTarget()91 auto trans = calcResult.maxTranslation * pow(EULER_NUMBER, -(dis - calcResult.minDistance) / in CalcOffsetToTarget()
32 float maxTranslation = 0.0f; member
132 result.maxTranslation =1.0f;137 EXPECT_EQ(result.maxTranslation, 1.0f);