get the value of slope currently pointed by index on the right path
| 164 | |
| 165 | // get the value of slope currently pointed by index on the right path |
| 166 | int64_t SlopeWalk::getCurrentXRight(int64_t yy) |
| 167 | { |
| 168 | if(mRightSlopeIndex != mRightSlopes.begin()) |
| 169 | { |
| 170 | return getPreviousRightVertex().x + ((*mRightSlopeIndex) * (yy - getPreviousRightVertex().y))/VectorInt64::UNIT ; |
| 171 | } |
| 172 | else |
| 173 | return getCurrentRightVertex().x; |
| 174 | } |
| 175 | |
| 176 | |
| 177 | VectorInt64& SlopeWalk::getTopLeftVertex() |
no outgoing calls
no test coverage detected